Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@ This project builds an openSUSE-based image which includes NodeJS version 10 and
### DejaVu Fonts
[DejaVu Fonts](https://dejavu-fonts.github.io/) is pre-installed in the container. The DejaVu fonts are a font family based on the Bitstream Vera Fonts. Its purpose is to provide a wider range of characters while maintaining the original look and feel through the process of collaborative development.

### Gosu
[Gosu](https://github.com/tianon/gosu/) is pre-installed in the container. Gosu allows derived images to run commands as a specified user, rather than as the default user.

To use gosu, set the `RUNAS_USER` environment variable in the derived container's Dockerfile. Subsequent commands will then be run as the specified user:

```
ENV RUNAS_USER=my-user
CMD ["whoami"] # Outputs my-user
```

Note: the user specified by the `RUNAS_USER` is expected to already exist, and the `CMD` will fail if this is not the case.

### Startup Scripts
Any executable scripts added to the `/startup/startup.d/` directory will be automatically run each time the container is started (assuming the image entrypoint is not overwritten).

Expand Down
5 changes: 2 additions & 3 deletions release-notes-2.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
${version-number}

#### New Features
- SCMOD-11949: The [gosu](https://github.com/tianon/gosu/) tool is now available in the base image.
This tool allows derived images to run commands as a specified user, rather than as the default user.
See the [README.md](https://github.com/CAFapi/opensuse-nodejs10-image/blob/master/README.md) for more details.
- SCMOD-12755: The pre-installed startup scripts no longer requires root permissions to run. This allows containers
built on this image to run as arbitrary users.

#### Known Issues
- None