Step 6: Build the Docker Image
The docker
build command creates the Docker image using the Dockerfile. The command differs slightly depending on whether you are installing as a root user or as a non-root user.
- Procedure
- Use one of the following commands based on whether you are a root user or a non-root user.
User Command Root User docker build -f Dockerfile.psu --build-arg CFROOT=/PSU811 --build-arg CFUSER=root -t library/psu8.1.1 ./
Non-root User docker build -f Dockerfile.psu --build-arg CFROOT=/PSU811NonRoot --build-arg CFUSER=mftuser -t library/psu8.1.1nonroot ./