fix: building re2 in Dockerfile

This commit is contained in:
Marie Piontek 2023-08-09 21:15:39 +00:00
parent 2715857dff
commit b63ed319bf

View file

@ -3,7 +3,7 @@ FROM alpine:3.18 as build
WORKDIR /firefish
# Install compilation dependencies
RUN apk add --no-cache --no-progress git alpine-sdk python3 nodejs-current npm rust cargo vips
RUN apk add --no-cache --no-progress git alpine-sdk python3 nodejs-current npm rust cargo vips linux-headers
# Copy only the cargo dependency-related files first, to cache efficiently
COPY packages/backend/native-utils/Cargo.toml packages/backend/native-utils/Cargo.toml