mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add GitLab QA build images for Ruby 2.7
This commit is contained in:
parent
c0e214a7fd
commit
626403d93f
3 changed files with 40 additions and 0 deletions
24
Dockerfile.gitlab-qa-alpine-ruby-2.7
Normal file
24
Dockerfile.gitlab-qa-alpine-ruby-2.7
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Used by:
|
||||
# - GitLab CE/EE Review: https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/ci/review.gitlab-ci.yml
|
||||
# - Nightly QA: https://gitlab.com/gitlab-org/quality/nightly/blob/master/.gitlab-ci.yml
|
||||
# - QA Pipeline Common: https://gitlab.com/gitlab-org/quality/pipeline-common/-/blob/master/ci/qa.yml, https://gitlab.com/gitlab-org/quality/pipeline-common/-/blob/master/ci/qa-scheduled.yml
|
||||
|
||||
FROM ruby:2.7-alpine
|
||||
MAINTAINER GitLab Quality Team
|
||||
|
||||
WORKDIR /home/qa
|
||||
|
||||
ENV DOCKER_VERSION="18.06.1"
|
||||
ENV DOCKER_ARCHIVE="docker-${DOCKER_VERSION}-ce.tgz"
|
||||
ENV DOCKER_URL="https://download.docker.com/linux/static/stable/x86_64/${DOCKER_ARCHIVE}"
|
||||
ENV DOCKER_CHECKSUM="2d92728714d794f78619785a2c638b58b0b15e60b340de51886bf6d3730f31f0"
|
||||
ENV DOCKER_BIN="/usr/local/bin/docker"
|
||||
|
||||
# Install dependencies
|
||||
RUN apk --no-cache add -U openssl tar gzip bash ca-certificates build-base && mkdir -p /opt
|
||||
|
||||
RUN wget -q ${DOCKER_URL} && \
|
||||
tar -zxf ${DOCKER_ARCHIVE} && \
|
||||
mv docker/docker ${DOCKER_BIN} && \
|
||||
echo "${DOCKER_CHECKSUM} ${DOCKER_BIN}" | sha256sum -c - && \
|
||||
rm ${DOCKER_ARCHIVE}
|
||||
Loading…
Add table
Add a link
Reference in a new issue