13 lines
238 B
Docker
13 lines
238 B
Docker
FROM alpine:latest
|
|
|
|
ARG USERNAME=msmtp
|
|
|
|
COPY start-container.sh /usr/local/bin/start-container
|
|
|
|
RUN adduser -D $USERNAME \
|
|
&& apk add msmtp
|
|
&& chmod +x /usr/local/bin/start-container
|
|
|
|
USER $USERNAME
|
|
|
|
ENTRYPOINT ["start-container"] |