yolks/alpine/Dockerfile

21 lines
557 B
Text
Raw Normal View History

2020-07-19 19:26:09 +02:00
#
# 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="matthew@pterodactyl.io"
2020-07-19 19:26:09 +02:00
RUN apk add --update --no-cache ca-certificates tzdata \
&& adduser -D -h /home/container container
2020-07-19 19:26:09 +02:00
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
2020-10-25 18:48:48 +01:00
2020-07-19 19:26:09 +02:00
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]