Skip to content

Commit

Permalink
Update readme build CKAN Solr 8 for 2.10 to use env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Mar 14, 2024
1 parent 4c9bccd commit c20c50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
### CKAN Solr 8
#### Build for testing locally
source .env.bake && docker build --pull --rm -f "Images/Solr/8/Dockerfile.solr.ckan-2.9" -t "ghcr.io/salsadigitalauorg/ckan-solr-8:$CKAN_2_9_VERSION" "Images/Solr" --build-arg CKAN_VERSION="$CKAN_2_9_VERSION" --build-arg LAGOON_VERSION="$LAGOON_VERSION"
docker build --pull --rm -f "Images/Solr/8/Dockerfile.solr.ckan-2.10" -t "ghcr.io/salsadigitalauorg/ckan-solr-8:2.10.3" "Images/Solr" --build-arg CKAN_VERSION="2.10.3" --build-arg LAGOON_VERSION="23.12.0"
source .env.bake && docker build --pull --rm -f "Images/Solr/8/Dockerfile.solr.ckan-2.10" -t "ghcr.io/salsadigitalauorg/ckan-solr-8:$CKAN_2_10_VERSION" "Images/Solr" --build-arg CKAN_VERSION="$CKAN_2_10_VERSION" --build-arg LAGOON_VERSION="$LAGOON_VERSION"
#### Build and Push to ghcr
docker buildx create --name solr-8 --platform linux/amd64,linux/arm64 (Just the first time to create builder)
docker buildx bake -f solr-8-bake.hcl -f .env.bake --builder solr-8 --push
Expand Down

0 comments on commit c20c50c

Please sign in to comment.