Docker: Upgrade Go to 1.14.3
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
e61dda495a
commit
4f4e19bd89
4 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM photoprism/development:20200509
|
FROM photoprism/development:20200519
|
||||||
|
|
||||||
# Set up project directory
|
# Set up project directory
|
||||||
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
||||||
|
|
|
@ -85,12 +85,12 @@ RUN npm install --unsafe-perm=true --allow-root -g npm testcafe chromedriver
|
||||||
RUN npm config set cache ~/.cache/npm
|
RUN npm config set cache ~/.cache/npm
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
ENV GOLANG_VERSION 1.14.2
|
ENV GOLANG_VERSION 1.14.3
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
\
|
\
|
||||||
url="https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz"; \
|
url="https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz"; \
|
||||||
wget -O go.tgz "$url"; \
|
wget -O go.tgz "$url"; \
|
||||||
echo "6272d6e940ecb71ea5636ddb5fab3933e087c1356173c61f4a803895e947ebb3 *go.tgz" | sha256sum -c -; \
|
echo "1c39eac4ae95781b066c144c58e45d6859652247f7515f0d2cba7be7d57d2226 *go.tgz" | sha256sum -c -; \
|
||||||
tar -C /usr/local -xzf go.tgz; \
|
tar -C /usr/local -xzf go.tgz; \
|
||||||
rm go.tgz; \
|
rm go.tgz; \
|
||||||
export PATH="/usr/local/go/bin:$PATH"; \
|
export PATH="/usr/local/go/bin:$PATH"; \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM photoprism/development:20200509 as build
|
FROM photoprism/development:20200519 as build
|
||||||
|
|
||||||
# Set up project directory
|
# Set up project directory
|
||||||
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
||||||
|
|
|
@ -69,12 +69,12 @@ RUN npm install --unsafe-perm=true --allow-root -g npm
|
||||||
RUN npm config set cache ~/.cache/npm
|
RUN npm config set cache ~/.cache/npm
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
ENV GOLANG_VERSION 1.14.2
|
ENV GOLANG_VERSION 1.14.3
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
\
|
\
|
||||||
url="https://golang.org/dl/go${GOLANG_VERSION}.linux-arm64.tar.gz"; \
|
url="https://golang.org/dl/go${GOLANG_VERSION}.linux-arm64.tar.gz"; \
|
||||||
wget -O go.tgz "$url"; \
|
wget -O go.tgz "$url"; \
|
||||||
echo "bb6d22fe5806352c3d0826676654e09b6e41eb1af52e8d506d3fa85adf7f8d88 *go.tgz" | sha256sum -c -; \
|
echo "a7a593e2ee079d83a1943edcd1c9ed2dae7529666fce04de8c142fb61c7cdd3e *go.tgz" | sha256sum -c -; \
|
||||||
tar -C /usr/local -xzf go.tgz; \
|
tar -C /usr/local -xzf go.tgz; \
|
||||||
rm go.tgz; \
|
rm go.tgz; \
|
||||||
export PATH="/usr/local/go/bin:$PATH"; \
|
export PATH="/usr/local/go/bin:$PATH"; \
|
||||||
|
|
Loading…
Reference in a new issue