Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions nexus/compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,17 @@ define run_in_container
docker run \
--volume $(realpath .)/..:/go/src/github.com/vmware-tanzu/graph-framework-for-microservices/ \
--volume ~/.ssh:/root/.ssh \
--volume /tmp:/tmp \
--volume /go/pkg/mod:/go/pkg/mod \
--volume /root/.cache/go-build:/root/.cache/go-build \
--network=host \
--workdir ${PKG_NAME} \
-e http_proxy=$(HTTP_PROXY) \
-e https_proxy=$(HTTPS_PROXY) \
-e GOCACHE=/tmp/go-build-cache \
-e GOMODCACHE=/tmp/go-mod-cache \
--user $(shell id -u):$(shell id -g) \
--read-only \
"${BUILDER_DOCKER_TAG}" /bin/bash -c 'chown -R $(shell id -u) .; ${1}'
endef
else
Expand Down
2 changes: 1 addition & 1 deletion nexus/compiler/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN git config --global --add safe.directory '*' \
make=4.3-4.1 \
coreutils=9.1-1 \
openssh-client=1:9.2p1-2+deb12u5 \
&& curl -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/latest/download/jq-linux-amd64 \
&& curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 \
&& chmod +x /usr/local/bin/jq \
&& go install github.com/onsi/ginkgo/[email protected] \
&& go install github.com/onsi/gomega/[email protected] \
Expand Down
Loading