diff --git a/Dockerfile b/Dockerfile index 6d51b49d..a8706810 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ARG XX_VERSION="1.1.2" FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx -FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS base +FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base COPY --from=xx / / ENV CGO_ENABLED=0 RUN apk add --no-cache file git diff --git a/README.md b/README.md index f268150c..df837233 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,10 @@ Documentation can be found on https://crazymax.dev/ftpgrab/ ## Contributing -Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. If -you want to open a pull request, please read the [contributing guidelines](.github/CONTRIBUTING.md). - -You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) or by -making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! +Want to contribute? Awesome! The most basic way to show your support is to star +the project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) +or by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this +journey continues indefinitely! Thanks again for your support, it is much appreciated! :pray: diff --git a/hack/lint.Dockerfile b/hack/lint.Dockerfile index 499dfaae..26cae9c7 100644 --- a/hack/lint.Dockerfile +++ b/hack/lint.Dockerfile @@ -1,9 +1,10 @@ # syntax=docker/dockerfile:1 ARG GO_VERSION="1.19" +ARG ALPINE_VERSION="3.17" ARG GOLANGCI_LINT_VERSION="v1.48" -FROM golang:${GO_VERSION}-alpine AS base +FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base ENV GOFLAGS="-buildvcs=false" RUN apk add --no-cache gcc linux-headers musl-dev WORKDIR /src diff --git a/hack/vendor.Dockerfile b/hack/vendor.Dockerfile index 66aae1a5..f7c9786d 100644 --- a/hack/vendor.Dockerfile +++ b/hack/vendor.Dockerfile @@ -1,9 +1,10 @@ # syntax=docker/dockerfile:1 ARG GO_VERSION="1.19" +ARG ALPINE_VERSION="3.17" ARG GOMOD_OUTDATED_VERSION="v0.8.0" -FROM golang:${GO_VERSION}-alpine AS base +FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base RUN apk add --no-cache git linux-headers musl-dev WORKDIR /src