Simplify Go installation and support standard OpenCode releases
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ WORKDIR /src
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -trimpath -o /out/pipelines-server ./cmd/server
|
||||
RUN CGO_ENABLED=0 go build -trimpath -o /out/pipelines-server ./cmd/pipelines-server
|
||||
|
||||
FROM ghcr.io/anomalyco/opencode:2.0.20
|
||||
USER root
|
||||
|
||||
Reference in New Issue
Block a user