Sha256: 35e228f7a643f27f9d73679714c9a6aad59925de07f9acd75068a1afa801167a
Contents?: true
Size: 987 Bytes
Versions: 13
Compression:
Stored size: 987 Bytes
Contents
ARG GEM_VERSION ARG RUBY_VERSION FROM appmap:${GEM_VERSION} as appmap FROM ruby:${RUBY_VERSION} SHELL ["/bin/bash", "-c"] RUN apt-get update && apt-get install -y vim less RUN apt-get install -y postgresql-client RUN curl -fsSL https://fnm.vercel.app/install | bash \ && source /root/.bashrc \ && fnm install --lts \ && echo 'fnm default $(fnm current)' >> ~/.bashrc \ && ln -s $(which node) /usr/local/bin/ \ && ln -s $(which npx) /usr/local/bin/ \ && npm install -g yarn \ && ln -s $(which yarn) /usr/local/bin/ RUN mkdir /app WORKDIR /app RUN gem install -N bundler COPY package.json . RUN yarn install COPY Gemfile . RUN bundle RUN bundle binstubs bundler rspec-core --force COPY . . COPY --from=appmap /pkg/appmap.gem /tmp/ RUN gem install /tmp/appmap.gem && \ bundle update --local appmap && \ bundle binstubs appmap --force EXPOSE 3000 HEALTHCHECK --interval=1s --retries=10 CMD curl --fail http://localhost:3000/health || exit 1
Version data entries
13 entries across 13 versions & 1 rubygems