Skip to content

Commit

Permalink
ruby: switch to -slim image (open-telemetry#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 open-telemetry#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 committed Jun 6, 2022
1 parent 835ccae commit bca4344
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/emailservice/Dockerfile
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 bca4344

Please sign in to comment.