Skip to content

Commit

Permalink
refactor(docker): Use Quay for building Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
elldritch committed Jun 15, 2018
1 parent 55ddd49 commit 7d65cf2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $(PREFIX)/fossa: $(BIN)/fossa
docker-base: ./docker/base/Dockerfile
sudo docker build -t fossa-cli-base -f ./docker/base/Dockerfile .

.PHONY: docker-devel
.PHONY: docker
docker-devel: docker-base ./docker/devel/Dockerfile
sudo docker build -t fossa-cli-devel -f ./docker/devel/Dockerfile .

Expand Down
2 changes: 1 addition & 1 deletion docker/devel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fossa-cli-base
FROM quay.io/fossa/fossa-cli-base

# Add FOSSA CLI
ADD . $GOPATH/src/github.com/fossas/fossa-cli
Expand Down
2 changes: 1 addition & 1 deletion docker/test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# We use fossa-cli-base instead of fossa-cli-devel because fossa-cli-devel has
# an ADD step, which invalidates the cache for all following steps. This causes
# a rebuild of Kubernetes, which takes _forever_.
FROM fossa-cli-base
FROM quay.io/fossa/fossa-cli-base

# Known good Go projects (some are `git clone`d because `go get` causes
# compilation errors):
Expand Down

0 comments on commit 7d65cf2

Please sign in to comment.