Skip to content

Commit

Permalink
Retract pinning in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec committed Jul 10, 2024
1 parent 3597187 commit 8a0e3e9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docker multi-stage build
FROM mcr.microsoft.com/dotnet/sdk:8.0.302-1-jammy-amd64@sha256:9e23010bf3e1e837e0421f2f0cae3778f9c8fb4afaef331cc26ac15969494020 AS builder
FROM mcr.microsoft.com/dotnet/sdk:8.0.302-1-jammy-amd64 AS builder
WORKDIR /app

# Copy csproj and restore (fetch dependencies) as distinct layers.
Expand All @@ -11,7 +11,7 @@ COPY . ./
RUN dotnet publish -c Release -o build

# Build runtime image.
FROM mcr.microsoft.com/dotnet/aspnet:8.0.6-jammy-amd64@sha256:508870ea8c866710365cef2ba45c25caa172463756e8d7a94733ba49501a6a23
FROM mcr.microsoft.com/dotnet/aspnet:8.0.6-jammy-amd64

ENV ASPNETCORE_URLS=http://+:5000
ENV COMBINE_IS_IN_CONTAINER=1
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# User guide build environment
FROM python:3.10.14-slim-bookworm@sha256:3b37199fbc5a730a551909b3efa7b29105c859668b7502451c163f2a4a7ae1ed AS user_guide_builder
FROM python:3.10.14-slim-bookworm AS user_guide_builder

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
Expand All @@ -16,7 +16,7 @@ COPY docs/user_guide docs/user_guide
RUN tox -e user-guide

# Frontend build environment.
FROM node:20.14.0-bookworm-slim@sha256:5e8ac65a0231d76a388683d07ca36a9769ab019a85d85169fe28e206f7a3208e AS frontend_builder
FROM node:20.14.0-bookworm-slim AS frontend_builder
WORKDIR /app

# Install app dependencies.
Expand All @@ -28,7 +28,7 @@ COPY . ./
RUN npm run build

# Production environment.
FROM nginx:1.27@sha256:67682bda769fae1ccf5183192b8daf37b64cae99c6c3302650f6f8bf5f0f95df
FROM nginx:1.27

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion database/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mongo:7.0.12-jammy@sha256:afa36bca12295b5f9dae68a493c706113922bdab520e901bd5d6c9d7247a1d8d
FROM mongo:7.0.12-jammy

WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# secret accordingly.
# The scripts are written in Python.

FROM ubuntu:22.04@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221
FROM ubuntu:22.04

USER root

Expand Down
2 changes: 1 addition & 1 deletion maintenance/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# secret accordingly.
# The scripts are written in Python.

FROM sillsdev/aws-kubectl:0.3.0@sha256:63b6f2b30119fa9c27a99a38309a4599aefe10d175fb801d51da26f13099a825
FROM sillsdev/aws-kubectl:0.3.0

USER root

Expand Down

0 comments on commit 8a0e3e9

Please sign in to comment.