Skip to content

Commit

Permalink
travis build alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
syyang-in-cloud committed Jul 3, 2020
1 parent 888fa6f commit 5cc5c09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ service:
- docker

scripts:
- make
- make alpine_all
#- docker build . -f Dockerfile -t ibmcloud-image-builder
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ REMOTE_BRANCH ?= master
default: all

all: build run-tests cleanup
alpine_all: alpine_build run-tests cleanup

build:
alpine_build:
- echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json; sudo service docker restart; docker version
- docker build --squash . -f Dockerfile -t $(IMAGE_NAME):$(IMAGE_VERSION_LATEST)

mac_build:
build:
docker build --squash . -f Dockerfile -t $(IMAGE_NAME):$(IMAGE_VERSION_LATEST)

run-tests:
Expand Down

0 comments on commit 5cc5c09

Please sign in to comment.