File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh -x
2
+
3
+ BASEDIR=$( dirname " $0 " )
4
+ DOCKER_DIR=" ${BASEDIR} /.."
5
+ IMAGE=" alpine"
6
+ NAME=" chihuahua"
7
+ REPO=" ChihuahuaChain/chihuahua"
8
+ TAG=" 6"
9
+ GO_VERSION=" 1.20"
10
+
11
+ cd " ${DOCKER_DIR} "
12
+ docker buildx build " ." -f " ${IMAGE} .Dockerfile" \
13
+ --load \
14
+ --progress plain \
15
+ --tag " terraformlabs/${NAME} :${TAG} " \
16
+ --platform " linux/amd64" \
17
+ --build-arg " OS=linux" \
18
+ --build-arg " ARCH=amd64" \
19
+ --build-arg " APP_NAME=${NAME} " \
20
+ --build-arg " BIN_NAME=${NAME} d" \
21
+ --build-arg " BUILD_COMMAND=make install" \
22
+ --build-arg " BUILD_TAGS=netgo ledger muslc" \
23
+ --build-arg " COSMOS_BUILD_OPTIONS=" \
24
+ --build-arg " GIT_TAG=v${TAG} " \
25
+ --build-arg " GIT_REPO=${REPO} " \
26
+ --build-arg " GO_VERSION=${GO_VERSION} " \
27
+ --build-arg " MIMALLOC_VERSION=" \
28
+ --build-arg " LDFLAGS=-w -s -linkmode=external -extldflags \" -Wl,-z,muldefs -static\" " \
29
+ $@
You can’t perform that action at this time.
0 commit comments