Set user to root
This commit is contained in:
parent
9087c245bc
commit
0859211185
9 changed files with 18 additions and 0 deletions
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
|
@ -12,5 +12,7 @@ LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
|
Loading…
Reference in a new issue