Skip to content

Commit 2c28611

Browse files
committed
Fix proxy build
1 parent cc3ff8c commit 2c28611

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

components/proxy/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
# Licensed under the GNU Affero General Public License (AGPL).
33
# See License.AGPL.txt in the project root for license information.
44

5-
FROM caddy:2.7.6-builder AS builder
5+
FROM caddy:2.7.6-builder AS withgo
6+
7+
RUN go install golang.org/dl/go1.23.1@latest && \
8+
go1.23.1 download && \
9+
rm -rf /usr/local/go && \
10+
mv /go /usr/local/go && \
11+
mv /usr/local/go/bin/go1.23.1 /usr/local/go/bin/go
12+
13+
FROM withgo AS builder
614

715
WORKDIR /plugins
816

0 commit comments

Comments
 (0)