Skip to content

Commit cc11281

Browse files
committed
Add --force to overwrite bundler executable
To avoid following error: ``` bundler's executable "bundle" conflicts with /usr/local/bin/bundle Overwrite the executable? [yN] ``` Bundler is default gem since Ruby 2.5
1 parent c6d0a54 commit cc11281

File tree

21 files changed

+21
-21
lines changed

21 files changed

+21
-21
lines changed

2.2/alpine3.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -ex \
9696

9797
ENV BUNDLER_VERSION 1.15.4
9898

99-
RUN gem install bundler --version "$BUNDLER_VERSION"
99+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
100100

101101
# install things globally, for great justice
102102
# and don't create ".bundle" in all our apps

2.2/jessie/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -ex \
6161

6262
ENV BUNDLER_VERSION 1.15.4
6363

64-
RUN gem install bundler --version "$BUNDLER_VERSION"
64+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
6565

6666
# install things globally, for great justice
6767
# and don't create ".bundle" in all our apps

2.2/jessie/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN set -ex \
8787

8888
ENV BUNDLER_VERSION 1.15.4
8989

90-
RUN gem install bundler --version "$BUNDLER_VERSION"
90+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
9191

9292
# install things globally, for great justice
9393
# and don't create ".bundle" in all our apps

2.3/alpine3.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -ex \
9696

9797
ENV BUNDLER_VERSION 1.15.4
9898

99-
RUN gem install bundler --version "$BUNDLER_VERSION"
99+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
100100

101101
# install things globally, for great justice
102102
# and don't create ".bundle" in all our apps

2.3/jessie/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -ex \
6161

6262
ENV BUNDLER_VERSION 1.15.4
6363

64-
RUN gem install bundler --version "$BUNDLER_VERSION"
64+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
6565

6666
# install things globally, for great justice
6767
# and don't create ".bundle" in all our apps

2.3/jessie/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN set -ex \
8787

8888
ENV BUNDLER_VERSION 1.15.4
8989

90-
RUN gem install bundler --version "$BUNDLER_VERSION"
90+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
9191

9292
# install things globally, for great justice
9393
# and don't create ".bundle" in all our apps

2.4/alpine3.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -ex \
9696

9797
ENV BUNDLER_VERSION 1.15.4
9898

99-
RUN gem install bundler --version "$BUNDLER_VERSION"
99+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
100100

101101
# install things globally, for great justice
102102
# and don't create ".bundle" in all our apps

2.4/alpine3.6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -ex \
9696

9797
ENV BUNDLER_VERSION 1.15.4
9898

99-
RUN gem install bundler --version "$BUNDLER_VERSION"
99+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
100100

101101
# install things globally, for great justice
102102
# and don't create ".bundle" in all our apps

2.4/jessie/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -ex \
6161

6262
ENV BUNDLER_VERSION 1.15.4
6363

64-
RUN gem install bundler --version "$BUNDLER_VERSION"
64+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
6565

6666
# install things globally, for great justice
6767
# and don't create ".bundle" in all our apps

2.4/jessie/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN set -ex \
8787

8888
ENV BUNDLER_VERSION 1.15.4
8989

90-
RUN gem install bundler --version "$BUNDLER_VERSION"
90+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
9191

9292
# install things globally, for great justice
9393
# and don't create ".bundle" in all our apps

2.4/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -ex \
6161

6262
ENV BUNDLER_VERSION 1.15.4
6363

64-
RUN gem install bundler --version "$BUNDLER_VERSION"
64+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
6565

6666
# install things globally, for great justice
6767
# and don't create ".bundle" in all our apps

2.4/stretch/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN set -ex \
8787

8888
ENV BUNDLER_VERSION 1.15.4
8989

90-
RUN gem install bundler --version "$BUNDLER_VERSION"
90+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
9191

9292
# install things globally, for great justice
9393
# and don't create ".bundle" in all our apps

2.5-rc/alpine3.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -ex \
9696

9797
ENV BUNDLER_VERSION 1.15.4
9898

99-
RUN gem install bundler --version "$BUNDLER_VERSION"
99+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
100100

101101
# install things globally, for great justice
102102
# and don't create ".bundle" in all our apps

2.5-rc/alpine3.6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -ex \
9696

9797
ENV BUNDLER_VERSION 1.15.4
9898

99-
RUN gem install bundler --version "$BUNDLER_VERSION"
99+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
100100

101101
# install things globally, for great justice
102102
# and don't create ".bundle" in all our apps

2.5-rc/jessie/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -ex \
6161

6262
ENV BUNDLER_VERSION 1.15.4
6363

64-
RUN gem install bundler --version "$BUNDLER_VERSION"
64+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
6565

6666
# install things globally, for great justice
6767
# and don't create ".bundle" in all our apps

2.5-rc/jessie/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN set -ex \
8787

8888
ENV BUNDLER_VERSION 1.15.4
8989

90-
RUN gem install bundler --version "$BUNDLER_VERSION"
90+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
9191

9292
# install things globally, for great justice
9393
# and don't create ".bundle" in all our apps

2.5-rc/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -ex \
6161

6262
ENV BUNDLER_VERSION 1.15.4
6363

64-
RUN gem install bundler --version "$BUNDLER_VERSION"
64+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
6565

6666
# install things globally, for great justice
6767
# and don't create ".bundle" in all our apps

2.5-rc/stretch/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN set -ex \
8787

8888
ENV BUNDLER_VERSION 1.15.4
8989

90-
RUN gem install bundler --version "$BUNDLER_VERSION"
90+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
9191

9292
# install things globally, for great justice
9393
# and don't create ".bundle" in all our apps

Dockerfile-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN set -ex \
9696

9797
ENV BUNDLER_VERSION %%BUNDLER%%
9898

99-
RUN gem install bundler --version "$BUNDLER_VERSION"
99+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
100100

101101
# install things globally, for great justice
102102
# and don't create ".bundle" in all our apps

Dockerfile-debian.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -ex \
6161

6262
ENV BUNDLER_VERSION %%BUNDLER%%
6363

64-
RUN gem install bundler --version "$BUNDLER_VERSION"
64+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
6565

6666
# install things globally, for great justice
6767
# and don't create ".bundle" in all our apps

Dockerfile-slim.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN set -ex \
8787

8888
ENV BUNDLER_VERSION %%BUNDLER%%
8989

90-
RUN gem install bundler --version "$BUNDLER_VERSION"
90+
RUN gem install bundler --version "$BUNDLER_VERSION" --force
9191

9292
# install things globally, for great justice
9393
# and don't create ".bundle" in all our apps

0 commit comments

Comments
 (0)