Skip to content

Commit

Permalink
Merge pull request #35 from spinkube/fix-nodeinstaller-dockerfile
Browse files Browse the repository at this point in the history
fix node installer dockerfile
  • Loading branch information
toksikk authored Mar 11, 2024
2 parents 618a21c + 61ade46 commit 18fc078
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions images/installer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download

COPY pkg ./pkg
COPY cmd ./cmd
COPY *.go ./
COPY testdata ./testdata
COPY . .

RUN go test ./...

RUN CGO_ENABLED=0 go build -o kwasm-node-installer
RUN CGO_ENABLED=0 go build -o kwasm-node-installer cmd/node-installer/main.go
RUN /app/kwasm-node-installer -h

FROM scratch
Expand Down

0 comments on commit 18fc078

Please sign in to comment.