Add fivem image

This commit is contained in:
Matthew Penner
2020-12-29 11:23:21 -07:00
parent 86bad3c9c9
commit 4d9a1e9b1f
3 changed files with 50 additions and 0 deletions

23
fivem/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
#
# 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
RUN apk add --update --no-cache ca-certificates c-ares icu-libs libssl1.1 libstdc++ libunwind musl-dbg tzdata v8 zlib \
&& 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" ]