Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
drmorr0 committed Oct 18, 2023
1 parent 9029308 commit 61ade3d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ $(GO_ARTIFACTS):
RUST_BUILD_IMAGE ?= rust:buster

$(RUST_ARTIFACTS):
docker run -u `id -u`:`id -g` -w /build -v `pwd`:/build:ro -v $(BUILD_DIR):/build/.build:rw $(RUST_BUILD_IMAGE) make $@-docker
id
docker run -u `id -u`:`id -g` -w /build -v `pwd`:/build:rw -v $(BUILD_DIR):/build/.build:rw $(RUST_BUILD_IMAGE) make $@-docker

%-docker:
id
ls -la /build
ls -la /build/.build
ls -la /build/.build/cargo
$(CARGO_HOME_ENV) cargo build --target-dir=$(BUILD_DIR) --bin=$* --color=always
cp $(BUILD_DIR)/debug/$* $(BUILD_DIR)/.

Expand Down

0 comments on commit 61ade3d

Please sign in to comment.