File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
20
20
21
21
# ##
22
22
23
- FROM --platform=$BUILDPLATFORM $BASE as build-stork
23
+ FROM $BASE as build-stork
24
24
25
25
RUN apt-get update \
26
26
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends git rake build-essential wget unzip python3
@@ -34,10 +34,6 @@ ENV GOPATH=/build/go
34
34
RUN --mount=type=cache,dst=/build/stork/tools \
35
35
rake build:agent
36
36
37
- ENV GOOS=linux
38
- ENV GOARCH=arm64
39
- ENV CGO_ENABLED=0
40
-
41
37
RUN --mount=type=cache,dst=/build/stork/tools \
42
38
../tools/golang/go/bin/go install ./cmd/stork-agent
43
39
@@ -67,7 +63,7 @@ RUN apt-get update \
67
63
&& apt-get clean && rm -rf /var/lib/apt/lists/*
68
64
69
65
COPY --from=build-healthz /app/bin/healthz /app/healthzd
70
- COPY --from=build-stork /build/go/bin/linux_arm64/ stork-agent /app/stork-agent
66
+ COPY --from=build-stork /build/go/bin/stork-agent /app/stork-agent
71
67
COPY run.sh /app/run.sh
72
68
COPY choose_dhcp_server_id.rb /app/choose_dhcp_server_id.rb
73
69
COPY --from=config /app/kea-ctrl-agent.json /app/kea-ctrl-agent.json
You can’t perform that action at this time.
0 commit comments