Bump alpine to 3.11

There's a new release which appears to have no apparent down-
sides or breakages.

https://www.alpinelinux.org/posts/Alpine-3.11.2-released.html

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd) 2019-12-27 10:01:35 +00:00 committed by Alex Ellis
parent 76e463a7a0
commit b45e2a52a4
38 changed files with 77 additions and 40 deletions

View File

@ -16,7 +16,7 @@ RUN license-check -path ./ --verbose=false "OpenFaaS Authors" "OpenFaaS Author(s
go build --ldflags "-s -w" -a -installsuffix cgo -o handler . && \
go test $(go list ./... | grep -v /vendor/) -cover
FROM alpine:3.10 as ship
FROM alpine:3.11 as ship
# Add non-root user
RUN addgroup -S app && adduser -S -g app app \
&& mkdir -p /home/app \

View File

@ -14,7 +14,7 @@ RUN license-check -path ./ --verbose=false "OpenFaaS Authors" "OpenFaaS Author(s
&& go test $(go list ./... | grep -v /vendor/) -cover && \
CGO_ENABLED=0 GOOS=linux go build --ldflags "-s -w" -a -installsuffix cgo -o handler .
FROM alpine:3.10
FROM alpine:3.11
# Add non-root user
RUN addgroup -S app && adduser -S -g app app \
&& mkdir -p /home/app \

View File

@ -40,7 +40,7 @@ RUN license-check -path ./ --verbose=false "Alex Ellis" "OpenFaaS Authors" "Open
-X github.com/openfaas/faas/gateway/types.Arch=${ARCH}"\
-a -installsuffix cgo -o gateway .
FROM alpine:3.10
FROM alpine:3.11
ARG ARCH="x86_64"

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.10
FROM alpine:3.11
LABEL org.label-schema.license="MIT" \
org.label-schema.vcs-url="https://github.com/openfaas/faas" \

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.10
FROM alpine:3.11
LABEL org.label-schema.license="MIT" \
org.label-schema.vcs-url="https://github.com/openfaas/faas" \

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alpine:3.10
FROM alpine:3.11
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alpine:3.10
FROM alpine:3.11
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alpine:3.10
FROM alpine:3.11
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM artemklevtsov/r-alpine:latest

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM node:6.9.1-alpine

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 as build

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM golang:1.11-alpine
ENV CGO_ENABLED=0

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM openjdk:8u121-jdk-alpine

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM node:6.9.1-alpine

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM python:2.7-alpine

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alpine:3.10 as builder
FROM alpine:3.11 as builder
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alpine:3.10
FROM alpine:3.11
RUN apk --update add nodejs nodejs-npm
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alpine:3.10
FROM alpine:3.11
RUN apk --update add nodejs nodejs-npm
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM golang:1.11-alpine as builder
ENV CGO_ENABLED=0
@ -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.10
FROM alpine:3.11
# Needed to reach the hub
RUN apk --no-cache add ca-certificates

View File

@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
RUN make install
FROM alpine:3.10
FROM alpine:3.11
# Needed to reach the hub
RUN apk --no-cache add ca-certificates

View File

@ -1,4 +1,7 @@
FROM functions/alpine:latest
USER root
RUN apk --update add nodejs nodejs-npm
COPY package.json .
@ -6,5 +9,8 @@ COPY handler.js .
COPY sample.json .
RUN npm i
USER 1000
ENV fprocess="node handler.js"
CMD ["fwatchdog"]

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM golang:1.11-alpine as builder
ENV CGO_ENABLED=0
@ -13,7 +13,7 @@ COPY vendor vendor
RUN go install
FROM alpine:3.10
FROM alpine:3.11
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alpine:3.10
FROM alpine:3.11
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,11 +1,14 @@
FROM functions/alpine:latest
USER root
RUN apk --update add nodejs nodejs-npm
COPY package.json .
COPY main.js .
RUN npm i
USER 1000
ENV fprocess="node main.js"
CMD ["fwatchdog"]

View File

@ -1,5 +1,7 @@
FROM functions/alpine:latest
USER root
RUN apk --update add nodejs nodejs-npm
COPY package.json .
@ -7,5 +9,7 @@ COPY main.js .
RUN npm i
USER 1000
ENV fprocess="node main.js"
CMD ["fwatchdog"]

View File

@ -1,5 +1,7 @@
FROM functions/alpine:latest
USER root
RUN apk --update add nodejs nodejs-npm
COPY package.json .
@ -7,5 +9,7 @@ COPY main.js .
RUN npm i
USER 1000
ENV fprocess="node main.js"
CMD ["fwatchdog"]

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM alexellis2/phantomjs-docker:latest

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM v4tech/imagemagick

View File

@ -1,6 +1,6 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM arm32v6/alpine:3.10
FROM arm32v6/alpine:3.11
RUN apk --no-cache add imagemagick

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM python:2.7-alpine

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM arm32v7/python:2.7-slim

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.14.4 as watchdog
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM golang:1.11-alpine as builder
ENV CGO_ENABLED=0
@ -12,7 +12,7 @@ COPY handler.go .
RUN go install
FROM alpine:3.10
FROM alpine:3.11
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,5 +1,10 @@
FROM functions/alpine:latest
USER root
# Populate example here
ENV fprocess="wc"
USER 1000
CMD ["fwatchdog"]

View File

@ -1,2 +1,3 @@
FROM functions/alpine:latest
ENV fprocess "/bin/cat"

View File

@ -1,8 +1,11 @@
FROM functions/alpine:latest
USER root
RUN apk add --no-cache figlet
ENV fprocess="figlet"
USER 1000
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]

View File

@ -1,7 +1,9 @@
FROM functions/alpine:latest
USER root
RUN apk add --no-cache figlet
USER 1000
ENV fprocess="figlet"
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1

View File

@ -1,7 +1,12 @@
FROM functions/alpine:latest
USER root
RUN apk add ffmpeg gifsicle
WORKDIR /root/
COPY entry.sh .
ENV fprocess="./entry.sh"
USER 1000
CMD ["fwatchdog"]

View File

@ -1,5 +1,9 @@
FROM functions/alpine:latest
USER root
RUN apk add --no-cache pwgen
USER 1000
ENV fprocess="xargs pwgen -s"