Giter Site home page Giter Site logo

staff-device-docker-base-images's Introduction

Repository is now archived โš ๏ธ Images are now pulled from DockerHub as per this github issue

Staff Device Docker Base Image

Repo for base images used across multiple services. Created as the solution to dockerhub rate limts as suggested by AWS.

To run this repo you will need:

  • aws-vault
  • access to shared-services

Adding Repositories

  1. Update the shared services infrastruture to create your ECR repository. This can be done here by adding the repository name to main.tf in the ecr_images module scope. Make a note of the name chosen.

  2. Create a folder under images with the same name as the repository in step one.

  3. Add a Dockerfile to this folder and populate it with the correct base image value.

  4. Run: make build-and-publish

Updating Existing Container Images

  1. Create a branch on this repository.
  2. Open the image Dockerfile within the images folder that you would like to update e.g. images\grafana\Dockerfile.
  3. Change image version to desired e.g. FROM grafana/grafana:8.3.3 to FROM grafana/grafana:8.3.4
  4. Create a Pull Request wait for review, merge and then switch back to main.
  5. Run: make build-and-publish this pulls down all images and then pushes them into ECR.
  6. To publish a single image to ECR you can run make publish-specific IMAGE="<<image-name>>" NOTE : <<image-name>> must match the folder name where the Dockerfile is stored.
  7. The running container will not update until container services are redeployed. For Elastic Container Service, go to the service, select the Update button and leave all defaults except tick the box by Force New Deployment this will recreate all the running containers with the new image.

staff-device-docker-base-images's People

Contributors

astrobinson avatar bagg3rs avatar caitbarnard avatar chubberlisk avatar dependabot[bot] avatar efuaakum avatar elcorbs avatar emileswarts avatar gary-h9 avatar jbevan4 avatar kyphutruong avatar mtouhid avatar wanieldilson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

staff-device-docker-base-images's Issues

A branch protection setting is not enabled: administrators require review

Hi there
The default branch protection setting called administrators require review is not enabled for this repository
See repository settings/Branches/Branch protection rules
Either add a new Branch protection rule or edit the existing branch protection rule and select the Require a pull request before merging option
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.