Skip to content
Snippets Groups Projects
Unverified Commit 1b95a26e authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

Use array copy everywhere

parent 99446fb5
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ RUN set -ex; \ ...@@ -50,7 +50,7 @@ RUN set -ex; \
apk del .gosu-deps apk del .gosu-deps
# Add configuraton files # Add configuraton files
COPY resources/config.json resources/.sequelizerc /files/ COPY ["resources/config.json", "resources/.sequelizerc", "/files/"]
# Install all dependencies and build project # Install all dependencies and build project
RUN apk add --no-cache --virtual .dep \ RUN apk add --no-cache --virtual .dep \
......
...@@ -15,7 +15,7 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI ...@@ -15,7 +15,7 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
ENV GOSU_VERSION 1.11 ENV GOSU_VERSION 1.11
COPY resources/gosu-gpg.key /tmp/gosu.key COPY ["resources/gosu-gpg.key", "/tmp/gosu.key"]
RUN set -ex; \ RUN set -ex; \
dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; \ dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; \
wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; \ wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; \
...@@ -32,7 +32,7 @@ RUN set -ex; \ ...@@ -32,7 +32,7 @@ RUN set -ex; \
gosu nobody true gosu nobody true
# Add configuraton files # Add configuraton files
COPY resources/config.json resources/.sequelizerc /files/ COPY ["resources/config.json", "resources/.sequelizerc", "/files/"]
RUN apt-get update && \ RUN apt-get update && \
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment