Skip to content

Commit

Permalink
workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ci7lus committed Nov 14, 2022
1 parent 6cd3da7 commit f1aff09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# syntax = docker/dockerfile:experimental
FROM --platform=$TARGETPLATFORM python:3.9.15-slim-buster AS base
ENV DEBIAN_FRONTEND "noninteractive"
RUN apt update \
RUN --security=insecure apt update \
&& apt full-upgrade -y \
&& apt install -y --no-install-recommends \
tzdata \
ca-certificates \
curl \
&& curl https://sh.rustup.rs -sSf | sh -s -- -y \
&& export PATH="$HOME/.cargo/bin:$PATH" \
&& export PATH="$HOME/.cargo/bin:$PATH" && mkdir -p /root/.cargo && chmod 777 /root/.cargo && mount -t tmpfs none /root/.cargo \
&& pip3 install mitmproxy google-cloud-pubsub protobuf \
&& rustup self uninstall -y \
&& apt autoremove -y \
Expand Down

0 comments on commit f1aff09

Please sign in to comment.