mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 07:43:25 +00:00
Bump files to use alpine:3.8
Bump Dockerfiles and mentions of alpine 3.7 to be now 3.8 Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
This commit is contained in:
committed by
Alex Ellis
parent
2944b9393c
commit
ade5f32513
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog-arm64 > /usr/bin/fwatchdog \
|
||||
|
@ -14,7 +14,7 @@ COPY handler.go .
|
||||
|
||||
RUN go install
|
||||
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
# Needed to reach the hub
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7 as builder
|
||||
FROM alpine:3.8 as builder
|
||||
RUN apk add --no-cache curl \
|
||||
&& curl -SL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
||||
&& chmod +x /usr/bin/fwatchdog \
|
||||
@ -7,12 +7,12 @@ RUN apk add --no-cache curl \
|
||||
WORKDIR /root/
|
||||
|
||||
RUN apk add --no-cache gcc \
|
||||
musl-dev
|
||||
musl-dev
|
||||
COPY main.c .
|
||||
|
||||
RUN gcc main.c -static -o /main \
|
||||
&& chmod +x /main \
|
||||
&& /main
|
||||
&& chmod +x /main \
|
||||
&& /main
|
||||
|
||||
FROM scratch
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
|
@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
||||
|
||||
RUN make install
|
||||
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
# Needed to reach the hub
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
||||
|
||||
RUN make install
|
||||
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
# Needed to reach the hub
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
|
@ -14,7 +14,7 @@ COPY vendor vendor
|
||||
|
||||
RUN go install
|
||||
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
# Needed to reach the hub
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
RUN apk --no-cache add nodejs nodejs-npm
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM arm32v6/alpine:3.7
|
||||
FROM arm32v6/alpine:3.8
|
||||
|
||||
RUN apk --no-cache add imagemagick
|
||||
|
||||
|
@ -14,7 +14,7 @@ COPY handler.go .
|
||||
|
||||
RUN go install
|
||||
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
# Needed to reach the hub
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog-armhf > /usr/bin/fwatchdog \
|
||||
|
@ -1,9 +1,9 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:3.8
|
||||
|
||||
RUN apk --no-cache add ffmpeg gifsicle curl \
|
||||
&& curl -LS https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
||||
&& chmod +x /usr/bin/fwatchdog \
|
||||
&& apk del curl
|
||||
&& curl -LS https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
||||
&& chmod +x /usr/bin/fwatchdog \
|
||||
&& apk del curl
|
||||
WORKDIR /root/
|
||||
COPY entry.sh .
|
||||
ENV fprocess="./entry.sh"
|
||||
|
Reference in New Issue
Block a user