Skip to content

Commit

Permalink
deploy: d1542f3
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshojha committed Aug 16, 2024
1 parent 6214015 commit 3935310
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ RUN apt install -y --no-install-recommends \
RUN add-apt-repository ppa:mozillateam/ppa

RUN ARCH=$(dpkg --print-architecture) \
&& wget https://go.dev/dl/go${GOVERSION}.linux-${ARCH}.tar.gz \
&& tar -xvf go${GOVERSION}.linux-${ARCH}.tar.gz -C /usr/local \
&& rm go${GOVERSION}.linux-${ARCH}.tar.gz
&& curl -L https://go.dev/dl/go${GOVERSION}.linux-${ARCH}.tar.gz | tar -xzC /usr/local

RUN ARCH=$(dpkg --print-architecture) \
&& if [ "${ARCH}" = "arm64" ]; then \
Expand All @@ -72,7 +70,7 @@ RUN ARCH=$(dpkg --print-architecture) \
&& mv geckodriver /usr/bin

# Install Rust for orjson
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN set -e; curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN pip3 install maturin

Expand Down

0 comments on commit 3935310

Please sign in to comment.