You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Take in a runtime image to use for the base system
# Expects an alpine-based image
ARG RUNTIME_IMAGE
# Use the docker image provided via build arg
FROM $RUNTIME_IMAGE
# Install the libraries we need for ruby and dockerize
RUN apk add --no-cache curl build-base
# Copy in the dockerize utility
ARG DOCKERIZE_VERSION=0.6.0
RUN curl -sL https://github.com/jwilder/dockerize/releases/download/v$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-v$DOCKERIZE_VERSION.tar.gz | tar -xzC /usr/local/bin
# Copy project into the image
COPY . /fauna/faunadb-ruby
# Shift over to the project and install the dependencies