Skip to content

Commit

Permalink
Use git sha to provide verison
Browse files Browse the repository at this point in the history
  • Loading branch information
ajami1331 committed Jan 11, 2025
1 parent 40dbd2d commit f81bf47
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
@@ -1,4 +1,4 @@
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
ARG GIT_SHA

FROM mcr.microsoft.com/dotnet/runtime:8.0-noble AS base
WORKDIR /app
Expand Down Expand Up @@ -37,6 +37,6 @@ RUN chmod +x /root/sandbox.sh

EXPOSE 5050/tcp

ENV JUDGER_VERSION="$(git describe --tags --always --dirty)"
ENV JUDGER_VERSION=$GIT_SHA

ENTRYPOINT [ "/root/entrypoint.sh" ]

0 comments on commit f81bf47

Please sign in to comment.