Skip to content

Commit

Permalink
fix: add 30s sleep to wallet build Docker files
Browse files Browse the repository at this point in the history
Added a 30-second sleep command to the wallet build Docker files to ensure the container fetches the latest commit before starting the build process. This update guarantees that the build process uses the most recent code, preventing potential issues from delayed and outdated commits.

Changes include:
- Inserted sleep 30s in Docker build scripts.

This enhancement improves build reliability and consistency.
  • Loading branch information
pedro-at-decenomy committed Jun 5, 2024
1 parent 5f1ff83 commit 63f8523
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/docker/Dockerfile.dsw-linux-arm64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ ARG NAME=__Decenomy__
ARG BASE_NAME=__decenomy__
ARG TARGET=master

RUN sleep 30

# Clone the repository
RUN if [ ! -d $TICKER ]; then \
git clone https://github.com/decenomy/$TICKER; \
Expand Down
2 changes: 2 additions & 0 deletions contrib/docker/Dockerfile.dsw-linux-x64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ARG NAME=__Decenomy__
ARG BASE_NAME=__decenomy__
ARG TARGET=master

RUN sleep 30

# Clone the repository
RUN if [ ! -d $TICKER ]; then \
git clone https://github.com/decenomy/$TICKER; \
Expand Down
2 changes: 2 additions & 0 deletions contrib/docker/Dockerfile.dsw-macos-x64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ ARG NAME=__Decenomy__
ARG BASE_NAME=__decenomy__
ARG TARGET=master

RUN sleep 30

# Clone the repository
RUN if [ ! -d $TICKER ]; then \
git clone https://github.com/decenomy/$TICKER; \
Expand Down
2 changes: 2 additions & 0 deletions contrib/docker/Dockerfile.dsw-windows-x64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ ARG NAME=__Decenomy__
ARG BASE_NAME=__decenomy__
ARG TARGET=master

RUN sleep 30

# Clone the repository
RUN if [ ! -d $TICKER ]; then \
git clone https://github.com/decenomy/$TICKER; \
Expand Down

0 comments on commit 63f8523

Please sign in to comment.