Skip to content
Merged
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions Makefile.enterprise
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,19 @@ $(IMAGES): $(ENTERPRISE_BUILD)/exectrace_$(VERSION)_linux_%.tag: $(ENTERPRISE_BU
)
if [[ "$${arch_map[$${arch}]+exists}" != "" ]]; then
arch="$${arch_map[$${arch}]}"
else
echo "Unknown arch: $${arch}"
exit 1
fi

temp_dir="$$(mktemp -d)"
cp enterprise/Dockerfile "$${temp_dir}/Dockerfile"
cp "$<" "$${temp_dir}/exectrace"

docker build \
--platform "$${arch}" \
--tag "$${image_tag}" \
--no-cache \
--build-arg "CODER_VERSION=$(VERSION)" \
"$${temp_dir}"

Expand Down
Loading