Skip to content

Commit ca355a8

Browse files
author
David Zuckerman
committed
fixed deprecation issues with Docker
1 parent 562d2c2 commit ca355a8

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.2
1+
3.1.7

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
FROM registry.access.redhat.com/ubi8/ruby-31
2-
32
USER root
43

54
# Configure users and groups
@@ -10,7 +9,9 @@ RUN groupadd -g 40054 alma && \
109
find / -user 1001 -exec chown -h bfs {} \; || true
1110

1211
COPY --chown=bfs Gemfile* .ruby-version ./
13-
RUN bundle install --system
12+
RUN bundle config set force_ruby_platform true
13+
RUN bundle config set system 'true'
14+
RUN bundle install
1415
COPY --chown=bfs . .
1516

1617
USER bfs

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ services:
2020
secrets:
2121
SSH_KEY:
2222
file: secrets/SSH_KEY
23-
24-
version: "3.8"

0 commit comments

Comments
 (0)