Sign inSign up

philipssoftware/node

By philipssoftware

•Updated about 3 years ago

https://github.com/philips-software/node

Image
0

50K+

philipssoftware/node repository overview

Build Docker images Slack

⁠Docker images

This repo will contain docker images with node

Current versions available:

.
├── 14
│   ├── java
│   └── vanilla
├── 16
│   ├── java
│   ├── vanilla
│   └── yarn2
├── 18 -> lts / stable / active / latest
│   ├── java
│   ├── nixos
│   ├── vanilla
│   └── yarn2
├── 19 -> current
│   ├── java
│   ├── vanilla
│   └── yarn2

⁠Usage

Images can be found on https://hub.docker.com/r/philipssoftware/node/⁠.

docker run philipssoftware/node:lts node --version
docker run philipssoftware/node:14-java node --version && java -version

⁠Content

The images obviously contain nodeJS, but also two other files:

  • REPO
  • TAGS
⁠REPO

This file has a url to the REPO with specific commit-sha of the build. Example:

$ docker run philipssoftware/node:14 cat REPO
https://github.com/philips-software/docker-node/tree/facb2271e5a563e5d6f65ca3f475cefac37b8b6c
⁠TAGS

This contains all the similar tags at the point of creation.

$ docker run philipssoftware/node:14 cat TAGS
node node:stable node:14 node:14.21.3 node:14.21.3 node:14.21.3-stretch

You can use this to pin down a version of the container from an existing development build for production. When using node:11 for development. This ensures that you've got all security updates in your build. If you want to pin the version of your image down for production, you can use this file inside of the container to look for the most specific tag, the last one.

⁠Node and Java version

If you want to know the version of Node (or Java if available), you can do the following:

$ docker run -it philipssoftware/node:18

⁠Simple Tags

Tags are aligned with the Node release schedule⁠.

⁠nodeJS 18 lts / stable
⁠nodeJS 19 current

⁠Tags with yarn2

⁠nodeJS 18 lts / stable - Yarn 2
  • node:yarn2 node:latest-yarn2 node:stable-yarn2 node:lts-yarn2 node:18-yarn2 node:18.15-yarn2 node:18.15.0-yarn2 node:18.15.0-buster-yarn2 stable/yarn2/Dockerfile⁠
⁠nodeJS 19 current - Yarn 2
⁠nodeJS 16 Yarn 2

⁠Tags with openjdk

⁠nodeJS 18 lts / stable - java
  • node:java node:latest-java node:stable-java node:lts-java node:18-java node:18.15-java node:18.15.0-java node:18.15.0-buster-java stable/java/Dockerfile⁠
⁠nodeJS 19 current - java
⁠nodeJS 16 java

⁠Why

Why do we have our own docker image definitions?

We often need some tools in a container for checking some things. F.e. jq⁠, aws-cli⁠ and curl⁠. We can install this every time we need a container, but having this baked into a container seems a better approach.

That's why we want our own docker file definitions.

⁠Issues

⁠Author

⁠License

License is MIT. See LICENSE file⁠

⁠Philips Forest

This module is part of the Philips Forest.

                                                     ___                   _
                                                    / __\__  _ __ ___  ___| |_
                                                   / _\/ _ \| '__/ _ \/ __| __|
                                                  / / | (_) | | |  __/\__ \ |_
                                                  \/   \___/|_|  \___||___/\__|

                                                                 Infrastructure

Talk to the forestkeepers in the docker-images-channel on Slack.

Slack

Tag summary

Content type

Image

Digest

sha256:4ce3a2018…

Size

17.6 MB

Last updated

about 3 years ago

docker pull philipssoftware/node:sha256-1f11138c0ae0b5a341041734c2ac672d9c8b8f4fde9584ddea6d16c349d21073.att