Slash a minute off tarball build

This commit is contained in:
Dmitry Maksyoma 2021-08-17 00:00:55 +12:00
parent 643a0cfed6
commit 9ec4cba184
8 changed files with 8 additions and 16 deletions

View File

@ -22,8 +22,7 @@ RUN cd /tmp/libwebp-1.0.2 && \
RUN useradd -m docker && echo "docker:docker" | chpasswd RUN useradd -m docker && echo "docker:docker" | chpasswd
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker
ENTRYPOINT ["/src/builder/build.sh"] ENTRYPOINT ["/src/builder/build.sh"]

View File

@ -24,8 +24,7 @@ RUN cd /tmp/libwebp-1.0.2 && \
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker
ENTRYPOINT ["/src/builder/build.sh"] ENTRYPOINT ["/src/builder/build.sh"]

View File

@ -24,8 +24,7 @@ RUN cd /tmp/libwebp-1.0.2 && \
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker
ENTRYPOINT ["/src/builder/build.sh"] ENTRYPOINT ["/src/builder/build.sh"]

View File

@ -31,8 +31,7 @@ RUN cd /tmp/libwebp-1.0.2 && \
RUN useradd -m docker && echo "docker:docker" | chpasswd RUN useradd -m docker && echo "docker:docker" | chpasswd
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker
ENTRYPOINT ["/src/builder/build.sh"] ENTRYPOINT ["/src/builder/build.sh"]

View File

@ -24,8 +24,7 @@ RUN cd /tmp/libwebp-1.0.2 && \
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker
ENTRYPOINT ["/src/builder/build.sh"] ENTRYPOINT ["/src/builder/build.sh"]

View File

@ -14,8 +14,7 @@ RUN cd /tmp/libwebp-1.0.2 && ./configure && make && make install
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker

View File

@ -28,8 +28,7 @@ RUN cd /tmp/libwebp-1.0.2 && \
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker
ENTRYPOINT ["/src/builder/build.sh"] ENTRYPOINT ["/src/builder/build.sh"]

View File

@ -24,8 +24,7 @@ RUN cd /tmp/libwebp-1.0.2 && \
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
COPY . /src COPY --chown=docker:docker . /src/
RUN chown -R docker:docker /src
USER docker USER docker
ENTRYPOINT ["/src/builder/build.sh"] ENTRYPOINT ["/src/builder/build.sh"]