mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-31 17:14:46 +01:00
fix: upgrade alpine:3.18 for zlib CVE-2022-37434 (#276)
This commit is contained in:
@@ -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" ]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user