FROM ruby:3.1.2-alpine3.15 RUN apk update && \ apk add bash && \ apk add build-base && \ apk add libcurl && \ gem install bundler && \ gem install rspec-support RUN mkdir -p /vgs-api-client/lib/vgs_api_client/ ADD ./scripts/test-e2e /vgs-api-client/scripts ADD ./spec /vgs-api-client/spec ADD ./vgs_api_client.gemspec /vgs-api-client/vgs_api_client.gemspec ADD ./Gemfile /vgs-api-client/Gemfile ADD ./lib/vgs_api_client/version.rb /vgs-api-client/lib/vgs_api_client/ WORKDIR /vgs-api-client/ ENTRYPOINT ["bash", "./scripts/run.sh"]