forked from Sunbird-RC/sunbird-rc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from holashchand/apple-silicon
using same dockerfile for both apple silicon/other
- Loading branch information
Showing
3 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
build-mac-base: | ||
@docker build -t ghcr.io/sunbird-rc/keycloak-silicon -f apple-silicon/Dockerfile apple-silicon | ||
IMAGE_DESTINATION=ghcr.io/sunbird-rc | ||
|
||
build: build-mac-base | ||
build: | ||
echo "Building docker image" | ||
@cd ../keycloak-mobile-number-login-spi/ && sh ./build.sh | ||
@docker build -t ghcr.io/sunbird-rc/sunbird-rc-keycloak -f Dockerfile . | ||
@docker build -t ghcr.io/sunbird-rc/sunbird-rc-keycloak:silicon -f Dockerfile.mac . | ||
@docker build -t $(IMAGE_DESTINATION)/sunbird-rc-keycloak . | ||
|
||
push: | ||
@docker push ghcr.io/sunbird-rc/sunbird-rc-keycloak | ||
@docker push ghcr.io/sunbird-rc/sunbird-rc-keycloak:silicon | ||
@docker push $(IMAGE_DESTINATION)/sunbird-rc-keycloak | ||
|
||
build-silicon-base: | ||
@docker build -t $(IMAGE_DESTINATION)/keycloak-silicon -f apple-silicon/Dockerfile apple-silicon | ||
|
||
build-silicon: | ||
echo "Building docker image" | ||
@cd ../keycloak-mobile-number-login-spi/ && sh ./build.sh | ||
@docker build -t $(IMAGE_DESTINATION)/sunbird-rc-keycloak:silicon --build-arg KEYCLOAK_BASE_IMAGE=vikastc/sunbirdrc-keycloak:apple-silicon . | ||
|
||
push-silicon: | ||
@docker push $(IMAGE_DESTINATION)/sunbird-rc-keycloak:silicon | ||
|