We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbef761 commit ec8fe82Copy full SHA for ec8fe82
Makefile.enterprise
@@ -64,14 +64,19 @@ $(IMAGES): $(ENTERPRISE_BUILD)/exectrace_$(VERSION)_linux_%.tag: $(ENTERPRISE_BU
64
)
65
if [[ "$${arch_map[$${arch}]+exists}" != "" ]]; then
66
arch="$${arch_map[$${arch}]}"
67
+ else
68
+ echo "Unknown arch: $${arch}"
69
+ exit 1
70
fi
71
72
temp_dir="$$(mktemp -d)"
73
cp enterprise/Dockerfile "$${temp_dir}/Dockerfile"
74
cp "$<" "$${temp_dir}/exectrace"
75
76
docker build \
77
+ --platform "$${arch}" \
78
--tag "$${image_tag}" \
79
+ --no-cache \
80
--build-arg "CODER_VERSION=$(VERSION)" \
81
"$${temp_dir}"
82
0 commit comments