Skip to content

Commit

Permalink
try to fix the build
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Jan 19, 2022
1 parent 46a566d commit d7a0e96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Containers/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ RUN set -ex; \
ca-certificates \
openssl \
netcat \
dpkg-dev \
; \
rm -rf /var/lib/apt/lists/*

ENV DEB_HOST_ARCH="$(dpkg-architecture --query DEB_HOST_ARCH)"

RUN wget "https://caddyserver.com/api/download?os=linux&arch=$DEB_HOST_ARCH" -O "/usr/bin/caddy" \
RUN set -ex; \
wget "https://caddyserver.com/api/download?os=linux&arch=$(dpkg-architecture --query DEB_BUILD_ARCH)" -O "/usr/bin/caddy" \
&& chmod +x /usr/bin/caddy \
&& /usr/bin/caddy version

Expand Down
6 changes: 3 additions & 3 deletions Containers/mastercontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ RUN apt-get update; \
supervisor \
openssl \
sudo \
dpkg-dev \
; \
rm -rf /var/lib/apt/lists/*

ENV DEB_HOST_ARCH="$(dpkg-architecture --query DEB_HOST_ARCH)"

RUN curl "https://caddyserver.com/api/download?os=linux&arch=$DEB_HOST_ARCH" -o "/usr/bin/caddy" \
RUN set -ex; \
curl "https://caddyserver.com/api/download?os=linux&arch=$(dpkg-architecture --query DEB_BUILD_ARCH)" -o "/usr/bin/caddy" \
&& chmod +x /usr/bin/caddy \
&& /usr/bin/caddy version

Expand Down

0 comments on commit d7a0e96

Please sign in to comment.