From 1758bad0042a0a179fa257d9dc41f0716a9adf6e Mon Sep 17 00:00:00 2001 From: Thong Kuah Date: Thu, 23 May 2019 22:21:26 +1200 Subject: [PATCH] Use Dockerfile flow for QA Auto DevOps This results in 40MB images vs 400MB images which is faster to upload and download. This does mean we lose the default herokuish QA coverage but we should have adequate coverage in https://gitlab.com/gitlab-org/cluster-integration/auto-build-image/ now. Triva: herokuish is bigger because it's base image is based on `ubuntu`. --- qa/qa/fixtures/auto_devops_rack/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 qa/qa/fixtures/auto_devops_rack/Dockerfile diff --git a/qa/qa/fixtures/auto_devops_rack/Dockerfile b/qa/qa/fixtures/auto_devops_rack/Dockerfile new file mode 100644 index 00000000000..1f59c23ea88 --- /dev/null +++ b/qa/qa/fixtures/auto_devops_rack/Dockerfile @@ -0,0 +1,9 @@ +FROM ruby:2.6.3-alpine +ADD ./ /app/ +WORKDIR /app +ENV RACK_ENV production +ENV PORT 5000 +EXPOSE 5000 + +RUN bundle install +CMD ["bundle","exec", "rackup", "-p", "5000"]