File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ RUN apt-get update && apt-get install -y \
12
12
git \
13
13
&& rm -rf /var/lib/apt/lists/*
14
14
15
- # Install Go for ARM architecture (latest supported version 1.21)
16
- RUN curl -OL https://golang.org/dl/go1.21.1.linux-arm64 .tar.gz && \
17
- tar -C /usr/local -xzf go1.21.1.linux-arm64 .tar.gz && \
18
- rm go1.21.1.linux-arm64 .tar.gz
15
+ # Install Go for x86 architecture (latest supported version 1.21)
16
+ RUN curl -OL https://golang.org/dl/go1.21.1.linux-amd64 .tar.gz && \
17
+ tar -C /usr/local -xzf go1.21.1.linux-amd64 .tar.gz && \
18
+ rm go1.21.1.linux-amd64 .tar.gz
19
19
20
20
# Set Go environment variables
21
21
ENV PATH="/usr/local/go/bin:${PATH}"
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ services:
3
3
restart : always
4
4
domainname : ask.defang.io
5
5
x-defang-dns-role : arn:aws:iam::258338292852:role/dnsadmin-39a19c3
6
+ platform : linux/amd64
6
7
build :
7
8
context : ./app
8
9
shm_size : " 30gb"
You can’t perform that action at this time.
0 commit comments