Sha256: c3f79decface78fe4517ce982fe121991fcbf8f7305421d2e1eb987bb3c6ba6c
Contents?: true
Size: 653 Bytes
Versions: 1
Compression:
Stored size: 653 Bytes
Contents
ARG ruby_version=2.6 FROM ruby:$ruby_version-alpine AS builder RUN apk add --no-cache build-base git WORKDIR /app RUN addgroup -S app && adduser -S -G app app USER app COPY --chown=app . ./ RUN gem install bundler:2.0.2 && bundle install -j "$(nproc)" FROM builder AS with-mysql-client USER root RUN apk add --no-cache mysql-client USER app FROM ruby:$ruby_version-alpine WORKDIR /app # TODO: remove dependecy of `git` from masking.gemspec:L19 RUN apk add --no-cache git RUN addgroup -S app && adduser -S -G app app USER app COPY --from=builder /usr/local/bundle/ /usr/local/bundle/ COPY --chown=app . ./ ENTRYPOINT ["bundle", "exec", "exe/masking"]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
masking-1.0.0 | Dockerfile |