Sha256: 389824fd016d5af0c375b3693dda1525cd6b22473c49f5ab1720cc575b4749e6
Contents?: true
Size: 900 Bytes
Versions: 4
Compression:
Stored size: 900 Bytes
Contents
FROM ruby:2.7-alpine ENV APP_HOME /app # git is required by bundler to run jaeger gem with local path RUN apk add --no-cache git # Add only files needed for installing gem dependencies. This allows us to # change other files without needing to install gems every time when building # the docker image. ADD Gemfile Gemfile.lock jaeger-client.gemspec $APP_HOME/ ADD lib/jaeger/client/version.rb $APP_HOME/lib/jaeger/client/ ADD crossdock/Gemfile crossdock/Gemfile.lock $APP_HOME/crossdock/ RUN gem install bundler -v $(tail -n 1 $APP_HOME/Gemfile.lock | awk '{$1=$1};1') RUN apk add --no-cache --virtual .app-builddeps build-base \ && cd $APP_HOME && bundle install \ && cd $APP_HOME/crossdock && bundle install \ && apk del .app-builddeps ADD . $APP_HOME RUN chown -R nobody:nogroup $APP_HOME USER nobody WORKDIR $APP_HOME/crossdock CMD ["bundle", "exec", "./server"] EXPOSE 8080-8082
Version data entries
4 entries across 4 versions & 3 rubygems