Skip to content

Commit

Permalink
ruby: switch to -slim image (#121)
Browse files Browse the repository at this point in the history
If I had invested, say, a mere modicum of effort into understanding what
needed to be done to use a `-slim` image in the first place, then we
would have included this in #109 from the start. However, I clearly did not. 🤦

This change switches us to the `-slim` image, and installs the one thing
we actually need to build `puma`: Debian's `build-essential` package.
  • Loading branch information
ahayworth authored Jun 6, 2022
1 parent bc0cd67 commit 4715732
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/emailservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ruby:3.1.2
FROM ruby:3.1.2-slim

RUN apt-get update -y && apt-get install -y build-essential

COPY Gemfile* .
RUN bundle install
Expand Down

0 comments on commit 4715732

Please sign in to comment.