subjectid commited on
Commit
9e4efd7
·
verified ·
1 Parent(s): c5313f4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -2,7 +2,5 @@ FROM gradle:8.8-jdk17 AS build
2
  RUN --mount=type=secret,id=TOKEN,target=/run/secrets/TOKEN \
3
  export SECRET_VALUE=$(cat /run/secrets/TOKEN) && \
4
  echo $TOKEN
5
- RUN git config --global credential.helper store
6
- RUN git config --global credential.username oauth2
7
- RUN echo "https://oauth2:${SECRET_VALUE}@github.com" | git credential approve
8
- RUN git clone https://github.com/subjectid1/dms.git
 
2
  RUN --mount=type=secret,id=TOKEN,target=/run/secrets/TOKEN \
3
  export SECRET_VALUE=$(cat /run/secrets/TOKEN) && \
4
  echo $TOKEN
5
+
6
+ RUN git clone "https://github.com/subjectid1/dms.git"