mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +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:
parent
2944b9393c
commit
ade5f32513
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apk add --update libarchive-tools
|
RUN apk add --update libarchive-tools
|
||||||
ADD https://github.com/prometheus/alertmanager/releases/download/v0.15.0/alertmanager-0.15.0.linux-arm64.tar.gz /root/
|
ADD https://github.com/prometheus/alertmanager/releases/download/v0.15.0/alertmanager-0.15.0.linux-arm64.tar.gz /root/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apk add --update libarchive-tools
|
RUN apk add --update libarchive-tools
|
||||||
ADD https://github.com/prometheus/alertmanager/releases/download/v0.15.0/alertmanager-0.15.0.linux-armv7.tar.gz /root/
|
ADD https://github.com/prometheus/alertmanager/releases/download/v0.15.0/alertmanager-0.15.0.linux-armv7.tar.gz /root/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
|
||||||
RUN apk add --update libarchive-tools curl \
|
RUN apk add --update libarchive-tools curl \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
|
||||||
RUN apk add --update libarchive-tools curl \
|
RUN apk add --update libarchive-tools curl \
|
||||||
|
@ -33,7 +33,7 @@ RUN license-check -path ./ --verbose=false "Alex Ellis" "OpenFaaS Project" "Open
|
|||||||
-X github.com/openfaas/faas/gateway/version.Version=${VERSION}" \
|
-X github.com/openfaas/faas/gateway/version.Version=${VERSION}" \
|
||||||
-a -installsuffix cgo -o gateway .
|
-a -installsuffix cgo -o gateway .
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
LABEL org.label-schema.license="MIT" \
|
LABEL org.label-schema.license="MIT" \
|
||||||
org.label-schema.vcs-url="https://github.com/openfaas/faas" \
|
org.label-schema.vcs-url="https://github.com/openfaas/faas" \
|
||||||
|
@ -20,7 +20,7 @@ COPY server.go .
|
|||||||
#RUN license-check -path ./ --verbose=false \
|
#RUN license-check -path ./ --verbose=false \
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gateway .
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gateway .
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
RUN addgroup -S app \
|
RUN addgroup -S app \
|
||||||
&& adduser -S -g app app
|
&& adduser -S -g app app
|
||||||
|
@ -18,7 +18,7 @@ COPY server.go .
|
|||||||
|
|
||||||
RUN GOARM=7 CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gateway .
|
RUN GOARM=7 CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gateway .
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
@ -142,7 +142,7 @@ $ faas-cli build -f callme.yml
|
|||||||
Building: alexellis/callme:armhf with node template. Please wait..
|
Building: alexellis/callme:armhf with node template. Please wait..
|
||||||
docker build -t alexellis/callme:armhf .
|
docker build -t alexellis/callme:armhf .
|
||||||
Sending build context to Docker daemon 8.704kB
|
Sending build context to Docker daemon 8.704kB
|
||||||
Step 1/16 : FROM alpine:3.7
|
Step 1/16 : FROM alpine:3.8
|
||||||
---> 16566b7ed19e
|
---> 16566b7ed19e
|
||||||
...
|
...
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
RUN apk --no-cache add curl \
|
RUN apk --no-cache add curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog-arm64 > /usr/bin/fwatchdog \
|
&& 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
|
RUN go install
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
# Needed to reach the hub
|
# Needed to reach the hub
|
||||||
RUN apk --no-cache add ca-certificates
|
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 \
|
RUN apk add --no-cache curl \
|
||||||
&& curl -SL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -SL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog \
|
&& chmod +x /usr/bin/fwatchdog \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
RUN apk --update add nodejs nodejs-npm
|
RUN apk --update add nodejs nodejs-npm
|
||||||
|
|
||||||
RUN apk --no-cache add curl \
|
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 --update add nodejs nodejs-npm
|
||||||
|
|
||||||
RUN apk --no-cache add curl \
|
RUN apk --no-cache add curl \
|
||||||
|
@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
|||||||
|
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
# Needed to reach the hub
|
# Needed to reach the hub
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
|
@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
|||||||
|
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
# Needed to reach the hub
|
# Needed to reach the hub
|
||||||
RUN apk --no-cache add ca-certificates
|
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 --update add nodejs nodejs-npm
|
||||||
|
|
||||||
RUN apk --no-cache add curl \
|
RUN apk --no-cache add curl \
|
||||||
|
@ -14,7 +14,7 @@ COPY vendor vendor
|
|||||||
|
|
||||||
RUN go install
|
RUN go install
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
# Needed to reach the hub
|
# Needed to reach the hub
|
||||||
RUN apk --no-cache add ca-certificates
|
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 --update add nodejs nodejs-npm
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
RUN apk --update add nodejs nodejs-npm
|
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 nodejs nodejs-npm
|
||||||
|
|
||||||
RUN apk --no-cache add curl \
|
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
|
RUN apk --no-cache add imagemagick
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ COPY handler.go .
|
|||||||
|
|
||||||
RUN go install
|
RUN go install
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
# Needed to reach the hub
|
# Needed to reach the hub
|
||||||
RUN apk --no-cache add ca-certificates
|
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 \
|
RUN apk --no-cache add curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog-armhf > /usr/bin/fwatchdog \
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog-armhf > /usr/bin/fwatchdog \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
RUN apk --no-cache add ffmpeg gifsicle curl \
|
RUN apk --no-cache add ffmpeg gifsicle curl \
|
||||||
&& curl -LS https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -LS https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user