Sha256: 0e3827b4e88a5b9ee0457b0343d6fca052f52a89731a5f3f842031b47c49f8df

Contents?: true

Size: 1.12 KB

Versions: 7

Compression:

Stored size: 1.12 KB

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"

RUN gem update bundler

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

# Install the latest version of Yarn
RUN sudo npm install --global yarn

# Python is necessary to compile NPM packages with native extensions through node-gyp
RUN sudo apt install python-minimal -y

# Install sqlite3
RUN sudo apt-get install libsqlite3-dev -y

Version data entries

7 entries across 4 versions & 1 rubygems

Version Path
shopify-cli-2.7.2 Codespace.dockerfile
shopify-cli-2.7.2 Tests.dockerfile
shopify-cli-2.7.1 Codespace.dockerfile
shopify-cli-2.7.1 Tests.dockerfile
shopify-cli-2.7.0 Codespace.dockerfile
shopify-cli-2.7.0 Tests.dockerfile
shopify-cli-2.6.6 Dockerfile