lixonet-ee/Dockerfile

17 lines
525 B
Docker
Raw Normal View History

2020-04-27 20:12:08 +00:00
FROM docker/compose:alpine-1.25.5
2020-04-27 19:55:27 +00:00
MAINTAINER Team Lixo <lixonet@team.lixo>
RUN apk add gnupg curl git py-pip openssh bash && pip install netcalc
2020-04-27 19:55:27 +00:00
RUN curl -L "https://github.com/gliderlabs/sigil/releases/download/v0.5.0/sigil_0.5.0_$(uname -sm|tr \ _).tgz" | tar -zxC /usr/local/bin
2022-12-17 23:21:01 -07:00
RUN addgroup -g 102 docker && adduser -u 431 -G docker -s /sbin/nologin -D lixonet
2020-04-27 19:55:27 +00:00
VOLUME /etc/lixonet
WORKDIR /app
2020-04-27 20:00:07 +00:00
ADD . .
RUN chown -R lixonet:lixonet /app && chmod -R 700 /app && chmod +x /app/run.sh
2020-04-27 19:59:26 +00:00
USER lixonet
CMD ["/app/run.sh"]