Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ RUN --mount=type=bind,target=.,ro \

FROM scratch AS binary
COPY --from=build /out .

FROM binary AS image
COPY --from=build-base-alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ENV PATH="/"
Comment thread
thelovekesh marked this conversation as resolved.
WORKDIR /app
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ powershell -c "irm wpm.so/install.ps1|iex"
docker pull trywpm/cli
```

**Go**
```
Comment thread
thelovekesh marked this conversation as resolved.
go install go.wpm.so/cli/cmd/wpm@latest
```

**Build from Source**
```bash
git clone git@github.com:trywpm/cli.git wpm
Expand Down
7 changes: 4 additions & 3 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ group "default" {
}

target "binary" {
inherits = ["_common"]
target = "binary"
platforms = ["local"]
output = ["build"]
inherits = ["_common"]
platforms = ["local"]
Comment thread
thelovekesh marked this conversation as resolved.
args = {
VERSION = VERSION
PACKAGER_NAME = PACKAGER_NAME
Expand All @@ -53,6 +53,7 @@ target "binary-cross" {
}

target "image-cross" {
inherits = ["meta-helper", "binary-cross"]
target = "image"
output = ["type=image"]
inherits = ["meta-helper", "binary-cross"]
Comment thread
thelovekesh marked this conversation as resolved.
}