diff --git a/INSTALL.md b/INSTALL.md index df545b2..5a72791 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -18,7 +18,7 @@ RUN set -eux; \ Newer `gosu` releases: ```dockerfile -ENV GOSU_VERSION 1.17.4 +ENV GOSU_VERSION 1.17.5 RUN set -eux; \ # save list of currently installed packages for later so we can clean up savedAptMark="$(apt-mark showmanual)"; \ @@ -53,7 +53,7 @@ RUN set -eux; \ **Note:** when using Alpine, it's probably also worth checking out [`su-exec`](https://github.com/ncopa/su-exec) (`apk add --no-cache su-exec`) instead, which since version 0.2 is fully `gosu`-compatible in a fraction of the file size. ```dockerfile -ENV GOSU_VERSION 1.17.4 +ENV GOSU_VERSION 1.17.5 RUN set -eux; \ \ apk add --no-cache --virtual .gosu-deps \ diff --git a/README.md b/README.md index a5717fb..91508ea 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Usage: ./gosu user-spec command [args] ./gosu nobody:root bash -c 'whoami && id' ./gosu 1000:1 id -./gosu version: 1.17.4 (go1.22.7 on linux/amd64; gc) +./gosu version: 1.17.5 (go1.22.7 on linux/amd64; gc) ``` Once the user/group is processed, we switch to that user, then we `exec` the specified process and `gosu` itself is no longer resident or involved in the process lifecycle at all. This avoids all the issues of signal passing and TTY, and punts them to the process invoking `gosu` and the process being invoked by `gosu`, where they belong. diff --git a/hub/Dockerfile.alpine b/hub/Dockerfile.alpine index 12bbd58..8e2ce6d 100644 --- a/hub/Dockerfile.alpine +++ b/hub/Dockerfile.alpine @@ -1,7 +1,7 @@ FROM alpine:3.20 # https://github.com/cyrax13/gosu/releases -ENV GOSU_VERSION 1.17.4 +ENV GOSU_VERSION 1.17.5 RUN set -eux; \ apk add --no-cache --virtual .fetch-deps dpkg gnupg; \ diff --git a/hub/Dockerfile.debian b/hub/Dockerfile.debian index 5886f03..126d20b 100644 --- a/hub/Dockerfile.debian +++ b/hub/Dockerfile.debian @@ -1,7 +1,7 @@ FROM debian:bookworm-slim # https://github.com/cyrax13/gosu/releases -ENV GOSU_VERSION 1.17.4 +ENV GOSU_VERSION 1.17.5 RUN set -eux; \ savedAptMark="$(apt-mark showmanual)"; \ diff --git a/main.go b/main.go index 590f8c5..143e06c 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ func init() { } func version() string { - // 1.17.4 (go1.22.7 on linux/amd64; gc) + // 1.17.5 (go1.22.7 on linux/amd64; gc) return Version + ` (` + runtime.Version() + ` on ` + runtime.GOOS + `/` + runtime.GOARCH + `; ` + runtime.Compiler + `)` } diff --git a/version.go b/version.go index 2f637ad..359a401 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package main -const Version = "1.17.4" +const Version = "1.17.5"