Skip to content

Commit e7b5ff8

Browse files
committed
Fix crash when building for the first time
@miller-time ran into this when trying out docker. When the Dockerfile got split up in #455 `gcc` never got installed in the second container, so there's no linker.
1 parent 5d22713 commit e7b5ff8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
6060
git \
6161
libmagic1 \
6262
docker.io \
63-
ca-certificates
63+
ca-certificates \
64+
build-essential \
65+
gcc \
66+
pkg-config
6467

6568
RUN mkdir -p /opt/docsrs/prefix
6669

0 commit comments

Comments
 (0)