-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
99 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM debian:11-slim | ||
COPY awm-relayer /usr/bin/awm-relayer | ||
EXPOSE 8080 | ||
USER 1001 | ||
CMD ["start"] | ||
ENTRYPOINT [ "/usr/bin/awm-relayer" ] |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Use this script to build the approver docker image in your local working copy | ||
# of the repository. Be prepared to repeatedly hit your YubiKey during the `go | ||
# mod download` step of the image build, just like you need to do for a | ||
# non-Docker build. | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o xtrace | ||
|
||
REPO_PATH=$(git rev-parse --show-toplevel) | ||
source "$REPO_PATH/scripts/versions.sh" | ||
source "$REPO_PATH/scripts/constants.sh" | ||
|
||
docker_repo=avaplatform/signature-aggregator | ||
|
||
docker --debug build \ | ||
--build-arg="GO_VERSION=${GO_VERSION}" \ | ||
--build-arg="API_PORT=${SIGNATURE_AGGREGATOR_API_PORT}" \ | ||
--build-arg="METRICS_PORT=${SIGNATURE_AGGREGATOR_METRICS_PORT}" \ | ||
--file "$REPO_PATH/signature-aggregator/Dockerfile" \ | ||
--ssh default \ | ||
--tag "${docker_repo}:$(git rev-parse HEAD)" \ | ||
--tag "${docker_repo}:$(git rev-parse --abbrev-ref HEAD | sed 's/\//-/g')" \ | ||
. |
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 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM debian:11-slim | ||
COPY signature-aggregator /usr/bin/signature-aggregator | ||
EXPOSE 8080 | ||
EXPOSE 8081 | ||
CMD ["start"] | ||
ENTRYPOINT [ "/usr/bin/signature-aggregator" ] |