Skip to content

Commit

Permalink
python-nginx base image Rust install (#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre authored Apr 6, 2021
1 parent 1f9cbb5 commit 96b6308
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Docker/python-nginx/python3.6-alpine3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
logrotate \
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
# install Rust
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.51 \
&& export GNUPGHOME="$(mktemp -d)" \
&& found=''; \
for server in \
Expand Down Expand Up @@ -192,6 +194,8 @@ COPY entrypoint.sh /entrypoint.sh
COPY logrotate-nginx.conf /etc/logrotate.d/nginx
RUN chmod +x /entrypoint.sh

ENV PATH="/root/.cargo/bin:${PATH}"

COPY dockerrun.sh /dockerrun.sh
RUN mkdir -p /var/www/metrics/ && chmod +x /dockerrun.sh

Expand Down

0 comments on commit 96b6308

Please sign in to comment.