Skip to content

Commit

Permalink
Pin Alpine Linux patch version
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed May 6, 2022
1 parent b097c87 commit 0d7ace7
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion auth/basic-auth/Dockerfile
Expand Up @@ -26,7 +26,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go test -v
RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
--ldflags "-s -w" -a -installsuffix cgo -o handler .

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15 as ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15.4 as ship
# Add non-root user
RUN addgroup -S app && adduser -S -g app app \
&& mkdir -p /home/app \
Expand Down
2 changes: 1 addition & 1 deletion gateway/Dockerfile
Expand Up @@ -44,7 +44,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build --
-X github.com/openfaas/faas/gateway/types.Arch=${TARGETARCH}" \
-a -installsuffix cgo -o gateway .

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15 as ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15.4 as ship

LABEL org.label-schema.license="MIT" \
org.label-schema.vcs-url="https://github.com/openfaas/faas" \
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/AlpineFunction/Dockerfile
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15.4

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/CHelloWorld/src/Dockerfile
@@ -1,6 +1,6 @@
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog

FROM alpine:3.15 as builder
FROM alpine:3.15.4 as builder
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

Expand Down
2 changes: 1 addition & 1 deletion sample-functions/CaptainsIntent/Dockerfile
@@ -1,6 +1,6 @@
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship
RUN apk --update add nodejs npm

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/ChangeColorIntent/Dockerfile
@@ -1,6 +1,6 @@
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship
RUN apk --update add nodejs npm

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/DockerHubStats/Dockerfile
Expand Up @@ -10,7 +10,7 @@ WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
RUN set -ex && apk add make && make install

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship

# Needed to reach the hub
RUN apk --no-cache add ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/DockerHubStats/Dockerfile.armhf
Expand Up @@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats

RUN make install

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship

# Needed to reach the hub
RUN apk --no-cache add ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/MarkdownRender/Dockerfile
Expand Up @@ -13,7 +13,7 @@ COPY vendor vendor

RUN go install

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/Nmap/Dockerfile
@@ -1,6 +1,6 @@
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/ResizeImageMagick/Dockerfile.armhf
@@ -1,6 +1,6 @@
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog

FROM arm32v6/alpine:3.15
FROM arm32v6/alpine:3.15.4

RUN apk --no-cache add imagemagick

Expand Down
2 changes: 1 addition & 1 deletion sample-functions/WebhookStash/Dockerfile
Expand Up @@ -12,7 +12,7 @@ COPY handler.go .

RUN go install

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
Expand Down
2 changes: 1 addition & 1 deletion sample-functions/hey/Dockerfile
@@ -1,6 +1,6 @@
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog

FROM alpine:3.15 as ship
FROM alpine:3.15.4 as ship

RUN mkdir -p /home/app

Expand Down

0 comments on commit 0d7ace7

Please sign in to comment.