Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc committed Feb 8, 2024
1 parent fca3875 commit e39be14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ ARG BRANCH=main
WORKDIR /build

# Clone latest code only
RUN git clone --single-branch --branch ${BRANCH} --depth 1 ${SOURCE} source
RUN git clone --single-branch --branch ${BRANCH} --depth 2 ${SOURCE} source

WORKDIR /build/source/service/Service

# Build code
RUN \
dotnet build --configuration Release --output /build/output && \
cp ../../tools/docker/content/run.sh /build/output/ && \
cp ../../tools/docker/content/setup.sh /build/output/ && \
cp ../../tools/docker/content/* /build/output/ && \
chmod ugo=r /build/output/*.dll

# Generate data used outside the image to label it
Expand Down

0 comments on commit e39be14

Please sign in to comment.