Browse Source

Match --no-install-suggests flag with production Dockerfile

.devcontainer/Dockerfile used --no-install-recommends while the
root Dockerfile uses --no-install-suggests for the same package
list, contradicting the comment that claims they match. Align the
flag and note that the list should stay in sync with the root
Dockerfile.
pull/7383/head
Lewis Nixon 4 weeks ago
parent
commit
552becbc8e
  1. 5
      .devcontainer/Dockerfile

5
.devcontainer/Dockerfile

@ -1,8 +1,9 @@
FROM node:22-slim
# Match the build tooling used by the production Dockerfile so native
# Match the build tooling used by the production Dockerfile (keep this
# list and the --no-install-suggests flag in sync with it) so native
# dependencies (e.g. Prisma) compile correctly inside the Dev Container
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apt-get update && apt-get install -y --no-install-suggests \
g++ \
git \
make \

Loading…
Cancel
Save