Skip to content

Commit

Permalink
Update version to 1.17.8
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrax13 committed Dec 6, 2024
1 parent bf9c0b7 commit 14dcbfa
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN set -eux; \
Newer `gosu` releases:

```dockerfile
ENV GOSU_VERSION 1.17.7
ENV GOSU_VERSION 1.17.8
RUN set -eux; \
# save list of currently installed packages for later so we can clean up
savedAptMark="$(apt-mark showmanual)"; \
Expand Down Expand Up @@ -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.7
ENV GOSU_VERSION 1.17.8
RUN set -eux; \
\
apk add --no-cache --virtual .gosu-deps \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7 (go1.22.10 on linux/amd64; gc)
./gosu version: 1.17.8 (go1.22.10 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.
Expand Down
2 changes: 1 addition & 1 deletion hub/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.20

# https://github.com/cyrax13/gosu/releases
ENV GOSU_VERSION 1.17.7
ENV GOSU_VERSION 1.17.8

RUN set -eux; \
apk add --no-cache --virtual .fetch-deps dpkg gnupg; \
Expand Down
2 changes: 1 addition & 1 deletion hub/Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:bookworm-slim

# https://github.com/cyrax13/gosu/releases
ENV GOSU_VERSION 1.17.7
ENV GOSU_VERSION 1.17.8

RUN set -eux; \
savedAptMark="$(apt-mark showmanual)"; \
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func init() {
}

func version() string {
// 1.17.7 (go1.22.10 on linux/amd64; gc)
// 1.17.8 (go1.22.10 on linux/amd64; gc)
return Version + ` (` + runtime.Version() + ` on ` + runtime.GOOS + `/` + runtime.GOARCH + `; ` + runtime.Compiler + `)`
}

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const Version = "1.17.7"
const Version = "1.17.8"

0 comments on commit 14dcbfa

Please sign in to comment.