ci: 📌 Set libstc++ version to ^13.0.0

This commit is contained in:
Jesse Wierzbinski 2024-10-04 15:28:36 +02:00
parent 40f9b46392
commit d61e366a29
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
FROM oven/bun:1.1.29-alpine as base FROM oven/bun:1.1.29-alpine as base
# Switch to Bash by editing /etc/passwd # Switch to Bash by editing /etc/passwd
RUN apk add --no-cache libstdc++ git=^2.0.0 bash^5.0.0 curl^8.0.0 openssh^9.7.0 cloc^2.0.0 && \ RUN apk add --no-cache libstdc++=^13.0.0 git=^2.0.0 bash^5.0.0 curl^8.0.0 openssh^9.7.0 cloc^2.0.0 && \
sed -i -e 's|/bin/ash|/bin/bash|g' /etc/passwd sed -i -e 's|/bin/ash|/bin/bash|g' /etc/passwd
# Extract Node from its docker image (node:22-alpine) # Extract Node from its docker image (node:22-alpine)

View file

@ -1,7 +1,7 @@
# Node is required for building the project # Node is required for building the project
FROM imbios/bun-node:1-20-alpine AS base FROM imbios/bun-node:1-20-alpine AS base
RUN apk add --no-cache libstdc++^14.0.0 RUN apk add --no-cache libstdc++^13.0.0
# Install dependencies into temp directory # Install dependencies into temp directory
# This will cache them and speed up future builds # This will cache them and speed up future builds
@ -29,7 +29,7 @@ WORKDIR /temp/dist
FROM oven/bun:1.1.29-alpine FROM oven/bun:1.1.29-alpine
# Install libstdc++ for Bun and create app directory # Install libstdc++ for Bun and create app directory
RUN apk add --no-cache libstdc++^14.0.0 && \ RUN apk add --no-cache libstdc++^13.0.0 && \
mkdir -p /app mkdir -p /app
COPY --from=build /temp/dist /app/dist COPY --from=build /temp/dist /app/dist