fix(infra): replace short -S flags with long --system/--ingroup in hub Dockerfile
The oven/bun:1.2 base image was updated and -S flag on adduser is now ambiguous between --shell and --system, causing build failure.
This commit is contained in:
@@ -8,7 +8,7 @@ RUN bun run build
|
|||||||
|
|
||||||
# ── Runtime ──
|
# ── Runtime ──
|
||||||
FROM oven/bun:1.2 AS runtime
|
FROM oven/bun:1.2 AS runtime
|
||||||
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
|
RUN addgroup --system appgroup && adduser --system appuser --ingroup appgroup
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/.next ./.next
|
COPY --from=builder /app/.next ./.next
|
||||||
COPY --from=builder /app/node_modules ./node_modules
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
|
|||||||
Reference in New Issue
Block a user