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:
Martin Dekov (VMware)
2018-11-16 03:12:26 -08:00
committed by Alex Ellis
parent 2944b9393c
commit ade5f32513
24 changed files with 48 additions and 48 deletions

View File

@ -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