Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS CodeBuild - Environment based off of image from docker hub

Quick question and this may be a dumb one. I am attempting to use AWS Code Build with an image I've published to Docker Hub. I selected the option to use a custom image, and the the option to look for the image in another location (an external image repo).

I can't seem to figure out how to reference my image in the appropriate format to use it in the other location field.

Any help would be greatly appreciated.

Below is the field I'm looking to complete:

like image 673
Jackson Avatar asked Oct 12 '18 16:10

Jackson


1 Answers

In the "Other location" text box you can enter the image name from DockerHub. For example, simply give "openjdk" or "openjdk:latest" to use https://hub.docker.com/r/library/openjdk/ as the Docker image for your build. Don't put the "docker pull " prefix for your image name is all.

Note that CodeBuild only supports public Docker images from DockerHub today. Private registries are not supported.

like image 200
Subin Mathew Avatar answered Sep 21 '22 17:09

Subin Mathew