17 lines
525 B
Docker
17 lines
525 B
Docker
FROM docker/compose:alpine-1.25.5
|
|
MAINTAINER Team Lixo <lixonet@team.lixo>
|
|
|
|
RUN apk add gnupg curl git py-pip openssh bash && pip install netcalc
|
|
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
|
|
RUN addgroup -g 102 docker && adduser -u 431 -G docker -s /sbin/nologin -D lixonet
|
|
|
|
VOLUME /etc/lixonet
|
|
|
|
WORKDIR /app
|
|
ADD . .
|
|
|
|
RUN chown -R lixonet:lixonet /app && chmod -R 700 /app && chmod +x /app/run.sh
|
|
|
|
USER lixonet
|
|
CMD ["/app/run.sh"]
|