Skip to content

Commit

Permalink
Merge pull request #46 from SAP/o-liver-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
o-liver authored Aug 4, 2023
2 parents ae190b0 + 6fd497f commit eccd68f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ This image is published to Docker Hub and can be pulled via the command
docker pull ppiper/node-browsers
```

The default tag `latest` contains node 10 for compatibility reasons with approuter, which is a Maintenance LTS and will be end of life after 2021-04-30.
The default tag `latest` contains node 20

For node-12 or node-14, use the tag `12-buster` or `14-buster`:
For node-16 or node-18 use the tag `16-bookworm` or `18-bookworm`:

```
docker pull ppiper/node-browsers:12-buster
docker pull ppiper/node-browsers:14-buster
docker pull ppiper/node-browsers:16-bookworm
docker pull ppiper/node-browsers:18-bookworm
```

## Build

To build this image locally, open a terminal in the directory of the Dockerfile and run

```
docker build --build-arg=BASE_IMAGE_TAG=10-buster -t ppiper/node-browsers .
docker build --build-arg=BASE_IMAGE_TAG=20-bookworm -t ppiper/node-browsers .
```

Where the `BASE_IMAGE_TAG=10-buster` build argument can be replaced with `BASE_IMAGE_TAG=12-buster` or `BASE_IMAGE_TAG=14-buster`.
Where the `BASE_IMAGE_TAG=20-bookworm` build argument can be replaced with `BASE_IMAGE_TAG=16-bookworm` or `BASE_IMAGE_TAG=18-bookworm`.
The given tag **must** exist in the [node](https://hub.docker.com/_/node) base image **and** use Debian GNU/Linux.

## Usage
Expand All @@ -48,4 +48,4 @@ See this [blog post](https://blogs.sap.com/2017/12/11/sap-s4hana-cloud-sdk-end-t

## Licensing

Copyright 2017-2021 SAP SE or an SAP affiliate company and devops-docker-node-browsers contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/devops-docker-node-browsers).
Copyright 2017-2021 SAP SE or an SAP affiliate company and devops-docker-node-browsers contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/devops-docker-node-browsers).

0 comments on commit eccd68f

Please sign in to comment.