Browse Source

chore(docker): upgrade build environment

pull/198/head
Josh Habdas 9 months ago
parent
commit
88feb9b8a0
Signed by: jhabdas GPG Key ID: B148B31154C75A74
3 changed files with 9 additions and 9 deletions
  1. +5
    -5
      Dockerfile
  2. +2
    -2
      docs/content/feature/extended-builds.id.md
  3. +2
    -2
      docs/content/feature/extended-builds.md

+ 5
- 5
Dockerfile View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2019 Josh Habdas <jhabdas@protonmail.com>
# Copyright (C) 2019, 2020 Josh Habdas <jhabdas@protonmail.com>
#
# This file is part of After Dark.
#
@ -17,17 +17,17 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# DOCKER-VERSION 19.03.5, build 633a0ea
# DOCKER-VERSION 19.03.8-ce, build afacb8b7f0
# Specify build image
ARG GO_VERSION=1.13.4
ARG BUILD_TARGET=alpine3.10
ARG GO_VERSION=1.14.3
ARG BUILD_TARGET=alpine3.11
# Pull builder base image
FROM golang:${GO_VERSION}-${BUILD_TARGET} AS hugobuilder
# Set hugo environment variables
ENV HUGO_VERSION=0.61.0 \
ENV HUGO_VERSION=0.71.0 \
CGO_ENABLED=1 \
GOOS=linux \
GO111MODULE=on \

+ 2
- 2
docs/content/feature/extended-builds.id.md View File

@ -6,7 +6,7 @@ tags = ["docker", "container", "sass", "cloud", "ci"]
features = ["code highlighter", "related content"]
[[copyright]]
owner = "Josh Habdas"
date = "2019"
date = "2019, 2020"
license = "agpl-3.0-or-later"
+++
@ -22,7 +22,7 @@ Build container uses Alpine and includes `musl-dev` for high-performance. Update
```sh
docker create -it --name temp f2b785583ce8 sh && \
sudo docker cp temp:/hugo /usr/local/bin && \
sudo docker cp temp:/usr/local/bin/hugo /usr/local/bin && \
docker rm -fv temp
```

+ 2
- 2
docs/content/feature/extended-builds.md View File

@ -6,7 +6,7 @@ tags = ["docker", "container", "sass", "cloud", "ci"]
features = ["code highlighter", "related content"]
[[copyright]]
owner = "Josh Habdas"
date = "2019"
date = "2019, 2020"
license = "agpl-3.0-or-later"
+++
@ -22,7 +22,7 @@ Build container uses Alpine and includes `musl-dev` for high-performance. Update
```sh
docker create -it --name temp f2b785583ce8 sh && \
sudo docker cp temp:/hugo /usr/local/bin && \
sudo docker cp temp:/usr/local/bin/hugo /usr/local/bin && \
docker rm -fv temp
```

Loading…
Cancel
Save