diff --git a/Dockerfile b/Dockerfile index 436604cce2..40dc62d2b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,8 @@ -FROM ruby:2.5-alpine +FROM ruby:2.7-alpine LABEL maintainer="Justin Collins " WORKDIR /usr/src/app -# Create user named app with uid=9000, give it ownership of /usr/src/app -RUN adduser -u 9000 -D app && \ - chown -R app:app /usr/src/app -USER app - # Copy our Gemfile (and related files) *without* copying our actual source code yet COPY Gemfile* *.gemspec gem_common.rb ./ # Copy lib/brakeman/version.rb so that bundle install works diff --git a/Dockerfile.codeclimate b/Dockerfile.codeclimate index 8a4604fd93..9600ba01d2 100644 --- a/Dockerfile.codeclimate +++ b/Dockerfile.codeclimate @@ -1,4 +1,4 @@ -FROM ruby:2.4-alpine +FROM ruby:2.7-alpine LABEL maintainer="Justin Collins" WORKDIR /usr/src/app