Create a Custom Base Image

Creating a custom base image is as simple as adding the Coder label to your Dockerfile.

LABEL com.coder.dep_version=<current_dep_version>

To determine the current version of Coder base images, first pull a base image.

docker pull coderenvs/ubuntu

Once the docker image is pulled, inspect the image for the current version.

docker inspect --format='{{index .ContainerConfig.Labels "com.coder.dep_version"}}' coderenvs/ubuntu

Your base image should also meet all the dependencies required by base images.

Table of Contents