Add Dockerfile and first attempt at CI
This commit is contained in:
parent
0245ab71c8
commit
4915208029
3 changed files with 57 additions and 1 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
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" ]
|
Loading…
Add table
Add a link
Reference in a new issue