Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (20 loc) · 1.14 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.14 KB

dockerfiles

Warning

This repo is no longer in use - container images are now built from the terraform repo and pushed to Github Container Registry.

A collection of Dockerfiles for FutureLearn builds.

Building an image

Ensure you have Docker installed.

Move into the directory of the image you wish to build and run:

docker build --rm -t futurelearn/<name of image>:<tag> .

The image will be available for you to use locally.

Pushing an image to Docker Hub

Sometimes you want to be able to test an image in an environment without pushing to master and relying on Drone to build the latest image.

Ensure you have an account on Docker Hub.

Once you have an account, ask an admin to give you access to the FutureLearn Docker Hub Repository.

To push an image, run:

docker push futurelearn/<name of image>:<tag>

Please ensure that you set a tag! If a tag is omitted then it will be set as 'latest' which could cause confusion with someone else pulling an image