Skip to content

Commit cbddec7

Browse files
committed
Disable lengthy git initialization and testing steps in Dockerfile
1 parent aa7ea50 commit cbddec7

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

images/platformio/Dockerfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,16 @@ COPY pio_project/ /tmp/pio_project/
5757
# Use pio run to download all toolchains and frameworks
5858
# pio run - downloads all toolchains and frameworks
5959
# pio test - download Unity test dependencies
60-
WORKDIR /tmp/pio_project
61-
RUN git init \
62-
&& git config user.email "build@local" \
63-
&& git config user.name "Build System" \
64-
&& git add . \
65-
&& git commit -m "Initial commit" --no-gpg-sign --quiet \
66-
&& for e in $PIO_ENVS; do pio run -e "$e"; done \
67-
&& for e in $PIO_ENVS; do pio test -e "$e" --without-uploading --without-testing; done \
68-
&& rm -rf /tmp/pio_project
60+
# - VERY LONG step, temporarily disabled
61+
#WORKDIR /tmp/pio_project
62+
#RUN git init \
63+
# && git config user.email "build@local" \
64+
# && git config user.name "Build System" \
65+
# && git add . \
66+
# && git commit -m "Initial commit" --no-gpg-sign --quiet \
67+
# && for e in $PIO_ENVS; do pio run -e "$e"; done \
68+
# && for e in $PIO_ENVS; do pio test -e "$e" --without-uploading --without-testing; done \
69+
# && rm -rf /tmp/pio_project
6970

7071
# Set working directory
7172
WORKDIR /workspace

0 commit comments

Comments
 (0)