From 40f9b463923862a5686c7cce43f0fd57cfb0df88 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Fri, 4 Oct 2024 15:25:54 +0200 Subject: [PATCH] fix: :green_heart: Fix incorrect Dockerfile syntax --- .devcontainer/Dockerfile | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 61181b21..01624d46 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,7 +2,7 @@ FROM oven/bun:1.1.29-alpine as base # 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++ 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 # Extract Node from its docker image (node:22-alpine) diff --git a/Dockerfile b/Dockerfile index 53770978..18a01935 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ WORKDIR /temp/dist FROM oven/bun:1.1.29-alpine # Install libstdc++ for Bun and create app directory -RUN apk add --no-cache libstdc++^14.0.0 && +RUN apk add --no-cache libstdc++^14.0.0 && \ mkdir -p /app COPY --from=build /temp/dist /app/dist