Browse Source

chore(docker): upgrade build environment

Josh Habdas 6 months ago
parent
commit
88feb9b8a0
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74

+ 5
- 5
Dockerfile View File

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

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

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

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

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

Loading…
Cancel
Save