Skip to content

Commit

Permalink
Add build-essential to container
Browse files Browse the repository at this point in the history
Some Rubygems need the Linux build system in order to be installed.
  • Loading branch information
jeffbyrnes committed Oct 20, 2022
1 parent d1e4f6e commit eb35266
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM puppet/pdk:latest

LABEL maintainer="mySociety <[email protected]>"
LABEL maintainer="Jeff Byrnes <[email protected]>"

# Install build-essential so some Rubygems needing builds can be installed
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends build-essential

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit eb35266

Please sign in to comment.