fix: upgrade alpine:3.18 for zlib CVE-2022-37434 (#276)

This commit is contained in:
Marco Argentieri
2024-08-23 15:56:31 +02:00
committed by GitHub
parent 2ffc478f38
commit 1f8cdcc770
2 changed files with 5 additions and 4 deletions

View File

@@ -14,7 +14,9 @@ RUN cd server && CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -l
RUN cd client && CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags="-X 'main.Version=${VERSION}'" -o ../bin/ark .
# Second image, running the arkd executable
FROM alpine:3.12
FROM alpine:3.18
RUN apk update && apk upgrade
WORKDIR /app
@@ -31,4 +33,3 @@ VOLUME /app/data
VOLUME /app/wallet-data
ENTRYPOINT [ "arkd" ]

View File

@@ -81,7 +81,7 @@ This will compile the `arkd` and `ark` binaries for your current architecture. F
4. Install dependencies:
```sh
go mod download
go work sync
```
5. Build the project:
@@ -97,7 +97,7 @@ Note: You need to run `make build` in both the `server` and `client` directories
## Support
If you encounter any issues or have questions, please file an issue on our [GitHub Issues](https://github.com/ark-network/ark/issues) page.
If you encounter any issues or have questions, please file an issue on our [GitHub Issues](https://github.com/ark-network/ark/issues) page.
## Security