10 lines
304 B
Docker
10 lines
304 B
Docker
|
FROM alpine:latest as build
|
||
|
RUN apk --no-cache add make gcc musl-dev linux-headers nettle-dev
|
||
|
WORKDIR /build
|
||
|
COPY . /build
|
||
|
RUN make
|
||
|
|
||
|
FROM alpine:latest as runtime
|
||
|
RUN apk --no-cache add nettle
|
||
|
COPY --from=build /build/elproxy /app/elproxy
|
||
|
CMD [ "sh", "-c", "/app/elproxy $ELPROXY_CONFIG $ELPROXY_DEBUG" ]
|