Skip to content

Commit

Permalink
#2: make it explicit in Docker configuration that only Linux is suppo…
Browse files Browse the repository at this point in the history
…rted
  • Loading branch information
dzhoshkun committed Sep 24, 2019
1 parent 0b5e30e commit df4fc7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ setup:docker:linux:
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
DOCKER_IMAGE_NAME_CI: ${CI_REGISTRY_IMAGE}/puma-ci:${CI_COMMIT_REF_SLUG}
DOCKER_IMAGE_NAME_CI: ${CI_REGISTRY_IMAGE}/puma-ci-linux:${CI_COMMIT_REF_SLUG}
services:
- docker:dind
script:
# Login to our registry
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin ${CI_REGISTRY}
- cd ./ci/docker
- docker build --target PUMA_CI -t ${DOCKER_IMAGE_NAME_CI} .
- docker build --target PUMA_CI_LINUX -t ${DOCKER_IMAGE_NAME_CI} .
- docker push ${DOCKER_IMAGE_NAME_CI}
tags:
- docker
Expand Down
2 changes: 1 addition & 1 deletion ci/docker/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04 AS PUMA_CI
FROM ubuntu:18.04 AS PUMA_CI_LINUX
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
tzdata \
Expand Down

0 comments on commit df4fc7b

Please sign in to comment.