Sha256: 9aef2a918826f616ab4071a3ccd184cb9d3e68712bb1ca41793f1fa1c86c54c2

Contents?: true

Size: 684 Bytes

Versions: 5

Compression:

Stored size: 684 Bytes

Contents

# Select base image
ARG BASE_IMAGE
FROM ${BASE_IMAGE}

# Setup directory
RUN mkdir /app
WORKDIR /app

# Setup specific version of ddtrace, if specified.
ARG ddtrace_git
ENV DD_DEMO_ENV_GEM_GIT_DDTRACE ${ddtrace_git}

ARG ddtrace_ref
ENV DD_DEMO_ENV_GEM_REF_DDTRACE ${ddtrace_ref}

# Install dependencies
COPY Gemfile /app/Gemfile
# This forces gems with native extensions to be compiled, rather than using pre-compiled binaries; it's needed because
# some google-protobuf versions ship with missing binaries for older rubies.
ENV BUNDLE_FORCE_RUBY_PLATFORM true
RUN bundle install

# Add files
COPY . /app

# Set entrypoint
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["bin/setup && bin/run"]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-0.51.1 integration/apps/rack/Dockerfile
ddtrace-0.51.0 integration/apps/rack/Dockerfile
ddtrace-0.50.0 integration/apps/rack/Dockerfile
ddtrace-0.49.0 integration/apps/rack/Dockerfile
ddtrace-0.48.0 integration/apps/rack/Dockerfile