2020-04-17 12:24:06 +00:00
|
|
|
FROM golang:alpine
|
|
|
|
|
2020-04-20 11:26:47 +00:00
|
|
|
LABEL maintainer="marcel.parciak@gmail.com"
|
2020-04-17 12:24:06 +00:00
|
|
|
|
|
|
|
WORKDIR /etc/postwoman-proxy
|
|
|
|
|
|
|
|
COPY . /etc/postwoman-proxy
|
|
|
|
RUN ./build.sh linux server
|
|
|
|
|
|
|
|
EXPOSE 9159/tcp
|
|
|
|
|
2020-04-20 11:26:47 +00:00
|
|
|
# this should be a standard user with the users group on alpine
|
|
|
|
USER 1000:100
|
|
|
|
|
|
|
|
CMD ["sh", "-c", "/etc/postwoman-proxy/out/linux-server/postwoman-proxy-server --host 0.0.0.0:9159"]
|