Sha256: f8ffe59a220f55ac8127f809b58d50ee8dcee30dd04af6afb87165cb19227bfc

Contents?: true

Size: 964 Bytes

Versions: 2

Compression:

Stored size: 964 Bytes

Contents

# This is a Docker image to test the CLI in UNIX environments other than macOS
# Build the image: docker build . -t shopify-cli
# Run tests: docker run -t --rm --volume "$(pwd):/usr/src/app" shopify-cli bundle exec rake test
FROM cimg/ruby:2.7.1

RUN git config --global user.email "development-lifecycle@shopify.com"
RUN git config --global user.name "Development Lifecycle"

# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1

WORKDIR /usr/src/app

COPY Gemfile Gemfile.lock ./
COPY shopify-cli.gemspec  shopify-cli.gemspec
COPY lib/shopify_cli/version.rb  lib/shopify_cli/version.rb
RUN bundle install

# Update git
RUN sudo add-apt-repository -y ppa:git-core/ppa
RUN sudo apt-get update
RUN sudo apt-get install git -y

# Install the latest version of NodeJS
RUN sudo apt-get install ca-certificates -y
RUN curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
RUN sudo apt-get install -y nodejs

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shopify-cli-2.6.5 Dockerfile
shopify-cli-2.6.4 Dockerfile