change build platform to arm64
This commit is contained in:
@@ -9,7 +9,7 @@ ENV GOARCH=amd64
|
||||
WORKDIR /goose.git
|
||||
|
||||
RUN git clone https://github.com/pressly/goose.git .
|
||||
RUN go build -tags='no_clickhouse no_libsql no_mssql no_mysql no_sqlite3 no_vertica no_ydb' \
|
||||
RUN GOARCH=arm64 go build -tags='no_clickhouse no_libsql no_mssql no_mysql no_sqlite3 no_vertica no_ydb' \
|
||||
-o goose ./cmd/goose
|
||||
|
||||
# Build app
|
||||
@@ -25,7 +25,7 @@ COPY ./src/internal ./internal
|
||||
COPY ./src/web ./web
|
||||
|
||||
# Build the application
|
||||
RUN go build -o main cmd/frontend/*
|
||||
RUN GOARCH=arm64 go build -o main cmd/frontend/*
|
||||
|
||||
|
||||
# --- Stage 3: Run the application ---
|
||||
|
||||
Reference in New Issue
Block a user