Using Alpine edge distribution to live on the edge

This commit is contained in:
Benjamin Sergeant 2019-12-05 15:46:01 -08:00
parent fde0b717d3
commit 8b1c4ff081

View File

@ -1,4 +1,4 @@
FROM alpine as build
FROM alpine:edge as build
RUN apk add --no-cache gcc g++ musl-dev linux-headers cmake openssl-dev
RUN apk add --no-cache make
@ -16,7 +16,7 @@ WORKDIR /opt
USER app
RUN [ "make", "ws_install" ]
FROM alpine as runtime
FROM alpine:edge as runtime
RUN apk add --no-cache libstdc++
RUN apk add --no-cache strace