Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/legrego/docker-node-fips
A Docker container with a FIPS enabled Node.js installation
https://github.com/legrego/docker-node-fips
Last synced: about 1 month ago
JSON representation
A Docker container with a FIPS enabled Node.js installation
- Host: GitHub
- URL: https://github.com/legrego/docker-node-fips
- Owner: legrego
- License: mit
- Created: 2018-05-01T12:41:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-14T14:51:05.000Z (over 3 years ago)
- Last Synced: 2023-08-06T05:41:04.169Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-fips
> A Dockerfile and helper script to create an Ubuntu 16.04 image with a FIPS
compliant 8.11.0 NodeJS build.## Overview
To build the Docker image you must have the `Dockerfile` and `fips.sh` script
in the same directory!
The Dockerfile uses a Ubuntu 16.04 base image, installs some packages needed
by the _fips.sh_ script, adds the _fips.sh_ script and runs it. The script
takes care of the actual NodeJS and OpenSSL installation and FIPS configuration.* Node: `v8.11.0`
* OpenSSL: `openssl-1.0.2h`
* OpenSSL FIPS Module: `openssl-fips-2.0.12`## Running FIPS Enabled Container
OpenSSL FIPS mode is OFF by default. It can be turned on by either setting
the environment variable:
```
docker run -it -e "OPENSSL_FIPS=1" --name gcosta/node-fips /bin/bash
```
OR editing `/etc/ssl/openssl.cnf` and enabling FIPS mode once in the container:
```
fips_mode = yes
```