Skip to content

Commit d6778e5

Browse files
Merge pull request #393 from rubygems/support-bundler-4
Bundler 4 has been removed `--without` option
2 parents 379f317 + de3930f commit d6778e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM ruby:3.4.3-alpine3.20
22
ARG KRANE_VERSION=3.4.1
33
ARG KUBECTL_VERSION=1.32.3
44

5+
ENV BUNDLE_WITHOUT="development:test"
6+
57
RUN apk update && apk --update add \
68
ruby-io-console \
79
# libstdc++ \
@@ -26,7 +28,7 @@ RUN apk --update add \
2628
git \
2729
bash \
2830
&& gem install bundler && \
29-
cd /app ; bundle install --without development test && \
31+
cd /app ; bundle install && \
3032
gem install krane -f --no-document --version=$KRANE_VERSION
3133

3234
COPY . /app

0 commit comments

Comments
 (0)