Merge pull request #30 from parkervcp/glibc

Update glibc container
This commit is contained in:
Dane Everitt 2018-10-28 12:31:41 -07:00 committed by GitHub
commit 35297e734e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,15 +5,15 @@
# ---------------------------------- # ----------------------------------
FROM frolvlad/alpine-glibc FROM frolvlad/alpine-glibc
MAINTAINER Pterodactyl Software, <support@pterodactyl.io> LABEL author="Pterodactyl Software" maintainer="support@pterodactyl.io"
RUN apk add --update --no-cache curl ca-certificates openssl libstdc++ \ RUN apk add --update --no-cache curl ca-certificates openssl libstdc++ busybox-extras binutils \
&& apk add libc++ --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \ && apk add libc++ jq --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
&& adduser -D -h /home/container container && adduser -D -h /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/ash", "/entrypoint.sh"] CMD ["/bin/ash", "/entrypoint.sh"]