This commit is contained in:
parent
0d0c60e4d3
commit
fa73a12ac1
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ ENV MORTY_VERSION="f56efbfca411605bc7a2b5cc8fcad91df537a597"
|
||||||
|
|
||||||
WORKDIR $GOPATH/src/github.com/asciimoo/morty
|
WORKDIR $GOPATH/src/github.com/asciimoo/morty
|
||||||
|
|
||||||
RUN apk update && apk upgrade && \
|
RUN apk upgrade --no-cache && \
|
||||||
apk add --no-cache git="2.26.2-r0" && \
|
apk add --no-cache git="2.26.2-r0" && \
|
||||||
git clone https://github.com/asciimoo/morty.git . && \
|
git clone https://github.com/asciimoo/morty.git . && \
|
||||||
git checkout "${MORTY_VERSION}"
|
git checkout "${MORTY_VERSION}"
|
||||||
|
@ -23,7 +23,7 @@ FROM arm32v7/alpine:3.12.3@sha256:299294be8699c1b323c137f972fd0aa5eaa4b95489c213
|
||||||
FROM arm64v8/alpine:3.12.3@sha256:549694ea68340c26d1d85c00039aa11ad835be279bfd475ff4284b705f92c24e AS base-arm64
|
FROM arm64v8/alpine:3.12.3@sha256:549694ea68340c26d1d85c00039aa11ad835be279bfd475ff4284b705f92c24e AS base-arm64
|
||||||
FROM base-${ARCH}
|
FROM base-${ARCH}
|
||||||
|
|
||||||
RUN apk update && apk upgrade && \
|
RUN apk upgrade --no-cache && \
|
||||||
apk --no-cache add ca-certificates="20191127-r4" && \
|
apk --no-cache add ca-certificates="20191127-r4" && \
|
||||||
rm -f /var/cache/apk/* && \
|
rm -f /var/cache/apk/* && \
|
||||||
adduser -D -h /usr/local/morty -s /bin/false morty morty
|
adduser -D -h /usr/local/morty -s /bin/false morty morty
|
||||||
|
|
Reference in a new issue