fix (container): add linux-headers to build dependencies

This commit is contained in:
naskya 2024-03-07 21:11:52 +09:00
parent 18c50f9669
commit 9661b6b86d
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -3,7 +3,7 @@ FROM docker.io/node:20-alpine as build
WORKDIR /firefish
# Install compilation dependencies
RUN apk update && apk add --no-cache build-base curl ca-certificates python3
RUN apk update && apk add --no-cache build-base linux-headers curl ca-certificates python3
RUN curl --proto '=https' --tlsv1.2 --silent --show-error --fail https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"