Ubuntu
To build a custom Ubuntu 18 base image:
- SSH into the system where App Workbench is installed.
-
Create a directory by executing the
mkdir
command, such as:$> mkdir -p ~/src/base_images.
-
Switch to the directory you just created by executing the
cd
command, such as:
.$> cd ~/src/base_images
-
Retrieve the HPE base image for Ubuntu 18 by executing the following command:
.$> bdwb --baseimg ubuntu18
This creates a directory called
ubuntu18
under your current directory. -
Switch to the
ubuntu18
directory by executing the following command:$> cd ubuntu18 $> ls -a
You should see the following:drwxr-xr-x. 3 root root 54 Oct 10 08:59 . drwxr-xr-x. 7 root root 78 Oct 15 12:32 .. -rw-r--r--. 1 root root 1393 Oct 9 15:36 Makefile drwxr-xr-x. 3 root root 79 Oct 10 08:59 ubuntu18
- You may override one or more of the following parameter(s) by executing the
following command(s), as appropriate:
$> export BASE_IMG_ORGNAME='<orgname>'
, where<orgname>
is the name of your organization, such asenterprise
. The default name isbluedata
.$> export BASE_IMG_VERSION='<version>'
, where<version>
is the image version number, such as1.0
. The default version is theEPIC_BASE_IMG_VERSION
.$> export UBUNTU18_UPSTREAM='<upstream>'
, where<upstream>
is the name of the upstream image source, such asartifactory.com/enterprise:ubuntu18
. The default upstream image source isubuntu:ubuntu18
.
- Modify the base image as needed.
-
Make the new image by executing the following command:
$> make ubuntu18
-
Verify that the image has built successfully by executing the following command:
.$> docker images
NOTE
User authentication is not automatically set up for
applications that use the bluedata/ubuntu18
base image.