dev #2
@@ -12,7 +12,6 @@ LABEL maintainer="${BUILD_MAINTAINER}"
|
|||||||
LABEL org.opencontainers.image.title="${BUILD_APP_NAME}"
|
LABEL org.opencontainers.image.title="${BUILD_APP_NAME}"
|
||||||
|
|
||||||
ENV TZ=${ENV_TZ}
|
ENV TZ=${ENV_TZ}
|
||||||
ENV USER=${BUILD_APP_USER}
|
|
||||||
|
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install wget && \
|
apt install wget && \
|
||||||
@@ -22,8 +21,8 @@ RUN apt update && \
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN adduser -D ${APP_USER} && chown -R ${APP_USER}:${APP_USER} /app
|
RUN adduser -D ${BUILD_APP_USER} && chown -R ${BUILD_APP_USER}:${BUILD_APP_USER} /app
|
||||||
|
|
||||||
USER ${APP_USER}
|
USER ${BUILD_APP_USER}
|
||||||
|
|
||||||
CMD ["bash"]
|
CMD ["bash"]
|
||||||
Reference in New Issue
Block a user