Add ca-certs to multi-arch gateways

Adds package to armhf / arm64 for use with plugins.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2019-06-14 19:19:15 +01:00
parent e3c976a428
commit 6481b683f2
2 changed files with 5 additions and 3 deletions

View File

@ -26,7 +26,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gateway .
FROM alpine:3.9
RUN addgroup -S app \
&& adduser -S -g app app
&& adduser -S -g app app \
&& apk add --no-cache ca-certificates
WORKDIR /home/app

View File

@ -33,7 +33,7 @@ RUN license-check -path ./ --verbose=false "Alex Ellis" "OpenFaaS Project" "Open
-X github.com/openfaas/faas/gateway/version.Version=${VERSION}" \
-a -installsuffix cgo -o gateway .
FROM alpine:3.8
FROM alpine:3.9
LABEL org.label-schema.license="MIT" \
org.label-schema.vcs-url="https://github.com/openfaas/faas" \
@ -43,7 +43,8 @@ LABEL org.label-schema.license="MIT" \
org.label-schema.docker.schema-version="1.0"
RUN addgroup -S app \
&& adduser -S -g app app
&& adduser -S -g app app \
&& apk add --no-cache ca-certificates
WORKDIR /home/app