Skip to content

Commit

Permalink
switch to building inside docker:latest on CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jshimko committed Aug 16, 2017
1 parent ef42a03 commit b2aa1dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
7 changes: 2 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@ jobs:
working_directory: /home/launchpad

docker:
- image: debian:jessie

environment:
- DOCKER_VERSION: 17.05.1-ce
- image: docker:latest

steps:
- setup_remote_docker
- checkout

# install OS dependencies
- run: .circleci/install.sh
- run: apk update && apk upgrade && apk add --no-cache bash git openssh

# run build test
- run: .circleci/build.sh
Expand Down
2 changes: 1 addition & 1 deletion .circleci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [[ "$CIRCLE_BRANCH" == "master" ]]; then
docker tag $IMAGE_NAME:latest $IMAGE_NAME:$VERSION

# login to Docker Hub
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
docker login -u $DOCKER_USER -p $DOCKER_PASS

# push the builds
docker push $IMAGE_NAME:$VERSION-devbuild
Expand Down
12 changes: 0 additions & 12 deletions .circleci/install.sh

This file was deleted.

0 comments on commit b2aa1dc

Please sign in to comment.