Skip to content

Commit

Permalink
Fixes #676: Update dockerfile; Update alpine base images; Fix multipl…
Browse files Browse the repository at this point in the history
…e CVEs (#677)

Co-authored-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
Hilário Coelho and appleboy authored Jun 30, 2022
1 parent cf67458 commit 409c0d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM plugins/base:linux-amd64
FROM alpine:3.15.4@sha256:a777c9c66ba177ccfea23f2a216ff6721e78a662cd17019488c417135299cd89

LABEL maintainer="Bo-Yi Wu <[email protected]>" \
org.label-schema.name="Gorush" \
org.label-schema.vendor="Bo-Yi Wu" \
org.label-schema.schema-version="1.0"

RUN apk add --no-cache ca-certificates mailcap && \
echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories

COPY release/linux/amd64/gorush /bin/

EXPOSE 8088 9000
Expand Down
5 changes: 4 additions & 1 deletion docker/Dockerfile.linux.arm
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM plugins/base:linux-arm
FROM alpine:3.15.4@sha256:a777c9c66ba177ccfea23f2a216ff6721e78a662cd17019488c417135299cd89

LABEL maintainer="Bo-Yi Wu <[email protected]>" \
org.label-schema.name="Gorush" \
org.label-schema.vendor="Bo-Yi Wu" \
org.label-schema.schema-version="1.0"

RUN apk add --no-cache ca-certificates mailcap && \
echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories

COPY release/linux/arm/gorush /bin/

EXPOSE 8088 9000
Expand Down
5 changes: 4 additions & 1 deletion docker/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM plugins/base:linux-arm64
FROM alpine:3.15.4@sha256:a777c9c66ba177ccfea23f2a216ff6721e78a662cd17019488c417135299cd89

LABEL maintainer="Bo-Yi Wu <[email protected]>" \
org.label-schema.name="Gorush" \
org.label-schema.vendor="Bo-Yi Wu" \
org.label-schema.schema-version="1.0"

RUN apk add --no-cache ca-certificates mailcap && \
echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories

COPY release/linux/arm64/gorush /bin/

EXPOSE 8088 9000
Expand Down

0 comments on commit 409c0d7

Please sign in to comment.