Skip to content

Instantly share code, notes, and snippets.

@must479
Created January 4, 2023 11:17
Show Gist options
  • Save must479/b0f26994e5a455787c754259071f19f1 to your computer and use it in GitHub Desktop.
Save must479/b0f26994e5a455787c754259071f19f1 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.11+commit.22be8592.js&optimize=false&runs=200&gist=
#!/bin/bash
# DockerHub automated build override
# $IMAGE_NAME var is injected into the build so the tag is correct.
docker build \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
-t $IMAGE_NAME .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment