Skip to content

Commit

Permalink
Merge pull request #59 from alphagov/sengi/add-db-client-bloat
Browse files Browse the repository at this point in the history
Add database CLIs to app images.
  • Loading branch information
sengi authored Nov 3, 2023
2 parents d3faeac + 1bb0462 commit 0bad15e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ ENV PATH=${TMPDIR_FOR_RUBY_WRAPPERS_DIR}:${PATH}

# Install node.js, yarn and other runtime dependencies.
COPY --from=builder /usr/share/keyrings/nodesource.gpg /usr/share/keyrings/
RUN install_packages ca-certificates curl libjemalloc-dev libgdbm6 libyaml-0-2 libmariadb3 libpq5 tzdata; \
RUN install_packages ca-certificates curl libjemalloc-dev libgdbm6 libyaml-0-2 \
libmariadb3 libpq5 mariadb-client postgresql-client tzdata; \
echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main" | tee /etc/apt/sources.list.d/nodesource.list; \
install_packages nodejs; \
echo -n node version:\ ; node -v; \
Expand Down

0 comments on commit 0bad15e

Please sign in to comment.