Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz committed Aug 6, 2024
1 parent 7e36713 commit 14551e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/cs.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build in a full featured container
FROM mcr.microsoft.com/dotnet/sdk:7.0-jammy as build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy as build

# Install protobuf compiler and build tools
RUN apt-get update \
Expand Down Expand Up @@ -43,7 +43,7 @@ COPY ./${REPO_DIR_OR_PLACEHOLDER} ./${REPO_DIR_OR_PLACEHOLDER}
RUN CGO_ENABLED=0 ./temporal-features prepare --lang cs --dir prepared --version "$SDK_VERSION"

# Copy the CLI and prepared feature to a distroless "run" container
FROM mcr.microsoft.com/dotnet/sdk:7.0-jammy
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy

COPY --from=build /app/temporal-features /app/temporal-features
COPY --from=build /app/features /app/features
Expand Down

0 comments on commit 14551e2

Please sign in to comment.