Skip to content

Commit

Permalink
Curl instead of wget
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Ainsworth committed Jul 27, 2023
1 parent f90717a commit a456747
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions service-admin/docker/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:stable
FROM nginx:1.22.1-alpine

RUN chown -R nginx:nginx /var/cache/nginx && \
chown -R nginx:nginx /var/log/nginx && \
Expand All @@ -9,7 +9,7 @@ RUN chown -R nginx:nginx /var/cache/nginx && \

# Add Confd to configure nginx on start
ENV CONFD_VERSION="0.16.0"
RUN wget -q -O /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64" && \
RUN curl --silent --output /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64" && \
chown -R nginx:nginx /usr/local/bin/confd && \
chmod +x /usr/local/bin/confd

Expand Down
2 changes: 1 addition & 1 deletion service-api/docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN chown -R nginx:nginx /var/cache/nginx && \

# Add Confd to configure nginx on start
ENV CONFD_VERSION="0.16.0"
RUN wget -q -O /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64" && \
RUN curl --silent --output /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64" && \
chown -R nginx:nginx /usr/local/bin/confd && \
chmod +x /usr/local/bin/confd

Expand Down
2 changes: 1 addition & 1 deletion service-front/docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN chown -R nginx:nginx /var/cache/nginx && \

# Add Confd to configure nginx on start
ENV CONFD_VERSION="0.16.0"
RUN wget -q -O /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64" && \
RUN curl --silent --output /usr/local/bin/confd "https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-linux-amd64" && \
chown -R nginx:nginx /usr/local/bin/confd && \
chmod +x /usr/local/bin/confd

Expand Down

0 comments on commit a456747

Please sign in to comment.