Skip to content

Commit

Permalink
CircleCI: build multiarch docker image #8
Browse files Browse the repository at this point in the history
  • Loading branch information
rafie committed Sep 5, 2019
1 parent 995da24 commit 6b71845
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ commands:
- setup_remote_docker:
docker_layer_caching: true
- run:
name: Setup Docker client
name: Setup Docker client experimental features
command: |
apt-get update -qq
apt-get -q install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt-get update -qq
apt-get -q install -y docker-ce docker-ce-cli containerd.io
sudo sh -c 'echo '\''DOCKER_OPTS="--experimental=true"'\'' >> /etc/default/docker'
sudo service docker restart
# apt-get update -qq
# apt-get -q install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
# curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
# add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
# apt-get update -qq
# apt-get -q install -y docker-ce docker-ce-cli containerd.io
- checkout
- run:
name: Build
Expand All @@ -79,8 +81,11 @@ jobs:
- ci_steps:
platform: macosx
build-multiarch-docker:
docker:
- image: 'redislabsmodules/rmbuilder:latest'
machine:
enabled: true
image: ubuntu-1604:201903-01
# docker:
# - image: 'redislabsmodules/rmbuilder:latest'
steps:
- multiarch_docker

Expand Down

0 comments on commit 6b71845

Please sign in to comment.