Skip to content

Commit

Permalink
dont set concurrency anymore (removed in 1.x, default to 1 in 0.9.5)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Apr 3, 2024
1 parent 338d63f commit 4f6b604
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions workers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN ln -sf /usr/share/zoneinfo/UTC /etc/localtime \
&& printf "enabled: false\noci_images:\n enabled: false\nfiles:\n enabled: false\n" > /cache/policy.yaml \
&& pip3 install -U pip \
# image-creator
&& curl -L -o /usr/local/bin/image-creator_0.9.4 https://drive.offspot.it/image-creator/image-creator_linux-x86_64_0.9.4 \
&& chmod +x /usr/local/bin/image-creator_0.9.4 \
&& ln -s /usr/local/bin/image-creator_0.9.4 //usr/local/bin/image-creator \
&& curl -L -o /usr/local/bin/image-creator_0.9.4 https://drive.offspot.it/image-creator/image-creator_linux-x86_64_0.9.5 \
&& chmod +x /usr/local/bin/image-creator_0.9.5 \
&& ln -s /usr/local/bin/image-creator_0.9.5 //usr/local/bin/image-creator \
&& echo "--- dependencies version: " && image-creator --version \
# beta version
&& curl -L -o /usr/local/bin/image-creator_1.0.0 https://drive.offspot.it/image-creator/image-creator_linux-x86_64_1.0.0 \
Expand Down
2 changes: 0 additions & 2 deletions workers/worker/tasks/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ def build_image(self):
str(Setting.cache_dir),
"--build-dir",
build_dir.name,
"--concurrency",
"1",
str(self.config_path),
str(self.img_path),
]
Expand Down

0 comments on commit 4f6b604

Please sign in to comment.