Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
fix: dockerfile should have .NET 8 aswell (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlowaXD authored Dec 28, 2023
1 parent 8a31233 commit bce76dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ RUN apk add wget unzip
RUN cd /tmp && wget https://github.com/bitwarden/clients/releases/download/cli-v${BW_VERSION}/bw-linux-${BW_VERSION}.zip && \
unzip /tmp/bw-linux-${BW_VERSION}.zip

FROM mcr.microsoft.com/dotnet/sdk:7.0-jammy as build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy as build
WORKDIR /operator

COPY ./ ./
RUN dotnet publish -c Release -o out src/Bitwarden.SecretOperator/Bitwarden.SecretOperator.csproj

# The runner for the application
FROM mcr.microsoft.com/dotnet/aspnet:7.0-jammy as final
FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy as final

RUN addgroup k8s-operator && useradd --create-home -G k8s-operator operator-user

Expand Down

0 comments on commit bce76dd

Please sign in to comment.