container: install perl on build

This commit is contained in:
naskya 2024-04-27 07:04:50 +09:00
parent c89525d151
commit d880601d56
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 linux-headers curl ca-certificates python3
RUN apk update && apk add --no-cache build-base linux-headers curl ca-certificates python3 perl
RUN curl --proto '=https' --tlsv1.2 --silent --show-error --fail https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"