yolks/fivem/Dockerfile

25 lines
814 B
Text
Raw Normal View History

2020-12-29 19:23:21 +01:00
#
# Copyright (c) 2020 Matthew Penner
#
# This repository is licensed under the MIT License.
# https://github.com/matthewpi/images/blob/master/LICENSE.md
#
FROM --platform=$BUILDPLATFORM alpine:latest
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
LABEL org.opencontainers.image.source="https://github.com/matthewpi/images"
LABEL org.opencontainers.image.licenses=MIT
2020-12-29 19:40:15 +01:00
RUN apk add --update --no-cache ca-certificates c-ares icu-libs libgcc libssl1.1 libstdc++ libunwind \
musl musl-dbg musl-dev musl-utils tzdata zlib \
2020-12-29 19:23:21 +01:00
&& adduser -D -h /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]