Skip to content

Commit

Permalink
feat: version pinning of docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
bchmnn committed Jul 19, 2024
1 parent 7f94686 commit 5176406
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion checker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.9
FROM python:3.11.9@sha256:c5254471e6073d8942091227f469302f85b30d4b23077226f135360491f5226a

RUN useradd -ms /bin/bash -u 1000 checker

Expand Down
2 changes: 1 addition & 1 deletion checker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
- MONGO_PASSWORD=replme_checker

replme-mongo:
image: mongo
image: mongo@sha256:54996a559c724c726a31fb8131e1c9088a05f7e531760e2897212389bbf20fed
volumes:
- checker-db:/data/db
environment:
Expand Down
2 changes: 1 addition & 1 deletion service/Dockerfile.backend
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang
FROM golang@sha256:829eff99a4b2abffe68f6a3847337bf6455d69d17e49ec1a97dac78834754bd6

WORKDIR /root

Expand Down
2 changes: 1 addition & 1 deletion service/Dockerfile.frontend
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:lts-alpine@sha256:34b7aa411056c85dbf71d240d26516949b3f72b318d796c26b57caaa1df5639a

WORKDIR /root

Expand Down
4 changes: 2 additions & 2 deletions service/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
restart: "unless-stopped"

dind:
image: docker:dind
image: docker:dind@sha256:5bf73daca1e5575772bdfd196a48cfeb6fd65f4affd2d83b42b16db36a2d2974
container_name: replme-dind
privileged: true
environment:
Expand All @@ -71,7 +71,7 @@ services:
depends_on:
- backend
- frontend
image: nginx:alpine
image: nginx:alpine@sha256:a45ee5d042aaa9e81e013f97ae40c3dda26fbe98f22b6251acdf28e579560d55
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/replme.conf
ports:
Expand Down
2 changes: 1 addition & 1 deletion service/image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine3.20
FROM golang:alpine3.20@sha256:8c9183f715b0b4eca05b8b3dbf59766aaedb41ec07477b132ee2891ac0110a07

WORKDIR /root/server

Expand Down
2 changes: 1 addition & 1 deletion service/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:latest
FROM postgres@sha256:0aafd2ae7e6c391f39fb6b7621632d79f54068faebc726caf469e87bd1d301c0

RUN apt-get update; apt-get install -y --no-install-recommends pwgen

Expand Down

0 comments on commit 5176406

Please sign in to comment.