Using Alpine edge distribution to live on the edge
This commit is contained in:
parent
fde0b717d3
commit
8b1c4ff081
@ -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 gcc g++ musl-dev linux-headers cmake openssl-dev
|
||||||
RUN apk add --no-cache make
|
RUN apk add --no-cache make
|
||||||
@ -16,7 +16,7 @@ WORKDIR /opt
|
|||||||
USER app
|
USER app
|
||||||
RUN [ "make", "ws_install" ]
|
RUN [ "make", "ws_install" ]
|
||||||
|
|
||||||
FROM alpine as runtime
|
FROM alpine:edge as runtime
|
||||||
|
|
||||||
RUN apk add --no-cache libstdc++
|
RUN apk add --no-cache libstdc++
|
||||||
RUN apk add --no-cache strace
|
RUN apk add --no-cache strace
|
||||||
|
Loading…
Reference in New Issue
Block a user