Initial Commit

This commit is contained in:
Matthew Penner
2020-07-19 11:26:09 -06:00
commit e02ffaa21d
6 changed files with 108 additions and 0 deletions

21
alpine/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
#
# Copyright (c) 2020 Matthew Penner
#
# This repository is licensed under the MIT License.
# https://github.com/matthewpi/images/blob/master/LICENSE.md
#
FROM alpine:latest
LABEL author="Matthew Penner" maintainer="me@matthewp.io"
RUN apk add --update --no-cache ca-certificates tzdata \
&& adduser -D -h /home/container container \
&& ln -s /etc/localtime /etc/timezone
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]