Skip to content

Commit

Permalink
Fix build issues and local buildtool script update.
Browse files Browse the repository at this point in the history
  • Loading branch information
junghao committed Aug 11, 2023
1 parent 78915da commit 409caf6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
5 changes: 0 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ if [ $# -eq 0 ]; then
exit 1
fi

# code will be compiled in this container
BUILDER_IMAGE='quay.io/geonet/golang:1.16-alpine'
RUNNER_IMAGE='quay.io/geonet/go-scratch:latest'

VERSION='git-'$(git rev-parse --short HEAD)
ACCOUNT=$(aws sts get-caller-identity --output text --query 'Account')
Expand All @@ -39,8 +36,6 @@ for i in "$@"; do

docker build \
--build-arg=BUILD="$i" \
--build-arg=RUNNER_IMAGE="$RUNNER_IMAGE" \
--build-arg=BUILDER_IMAGE="$BUILDER_IMAGE" \
--build-arg=GIT_COMMIT_SHA="$VERSION" \
--build-arg=ASSET_DIR="./cmd/$i/assets" \
-t "${ACCOUNT}.dkr.ecr.ap-southeast-2.amazonaws.com/${i}:$VERSION" \
Expand Down
26 changes: 0 additions & 26 deletions cmd/fdsn-quake-consumer/Dockerfile

This file was deleted.

0 comments on commit 409caf6

Please sign in to comment.