Skip to content

Commit 1c419e3

Browse files
committed
Ignore if it's dirty
1 parent fe289a8 commit 1c419e3

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Dockerfile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,3 @@ RUN --mount=type=cache,target=${HOME}/.cache,uid=${UID},gid=${GID} \
3535
# Set git remote URL to https for all sub-repos
3636
RUN git remote set-url origin "$(git remote get-url origin | sed 's|[email protected]:|https://github.com/|' )" \
3737
&& (cd third_party/envpool && git remote set-url origin "$(git remote get-url origin | sed 's|[email protected]:|https://github.com/|' )" )
38-
39-
# Abort if repo is dirty
40-
RUN rm NVIDIA_Deep_Learning_Container_License.pdf \
41-
&& echo "$(git status --porcelain --ignored=traditional | grep -v '.egg-info/$')" \
42-
# && echo "$(cd third_party/envpool && git status --porcelain --ignored=traditional | grep -v '.egg-info/$')" \
43-
&& echo "$(cd third_party/gym-sokoban && git status --porcelain --ignored=traditional | grep -v '.egg-info/$')" \
44-
&& if ! { [ -z "$(git status --porcelain --ignored=traditional | grep -v '.egg-info/$')" ] \
45-
# && [ -z "$(cd third_party/envpool && git status --porcelain --ignored=traditional | grep -v '.egg-info/$')" ] \
46-
&& [ -z "$(cd third_party/gym-sokoban && git status --porcelain --ignored=traditional | grep -v '.egg-info/$')" ] \
47-
; }; then exit 1; fi

0 commit comments

Comments
 (0)