Skip to content

Commit 294d8a2

Browse files
authored
Ruby - Update Dockerfile (#5909)
1 parent b3c6897 commit 294d8a2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ruby/Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,9 @@ RUN apt-get update && \
1111
COPY . /ruby/
1212
WORKDIR /ruby
1313

14-
# Set non-root user
15-
RUN useradd -m automation && \
16-
chown -R automation:automation /ruby
17-
USER automation:automation
18-
1914
# Perform build steps
2015
RUN bundle config --delete frozen && \
2116
bundle install
2217

2318
# Set default command
24-
CMD ["rake"]
19+
CMD ["rake"]

0 commit comments

Comments
 (0)