Skip to content

Commit 67f3520

Browse files
committed
fix deno failure in bridge docker build (#929)
Looks like `deno_core` depends on `rusty_v8` which will try to download prebuilt a binary v8 archive via some python script, and when that fails it'll try again with `curl`. ## Motivation The Python download was failing. Why? No idea. The curl fallback also failed because curl was not installed. ## Solution This diff adds `curl` to the list of installed packages for the builder stage of the `Dockerfile` which allows the `cargo build` layer to complete successfully.
1 parent baa093e commit 67f3520

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

webhook-bridge/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ FROM rust:1.69-slim-bullseye AS build
44
RUN apt-get update && apt-get install -y \
55
build-essential=12.* \
66
checkinstall=1.* \
7-
zlib1g-dev=1:* \
8-
pkg-config=0.29.* \
7+
curl=7.* \
98
libssl-dev=* \
9+
pkg-config=0.29.* \
1010
protobuf-compiler=* \
11+
zlib1g-dev=1:* \
1112
--no-install-recommends
1213

1314
RUN set -ex ; \

0 commit comments

Comments
 (0)