Skip to content

fix(docker): add unzip installation to "quarto" Docker image#14463

Merged
cderv merged 1 commit intoquarto-dev:mainfrom
mcanouil:ci/quarto-docker
Apr 30, 2026
Merged

fix(docker): add unzip installation to "quarto" Docker image#14463
cderv merged 1 commit intoquarto-dev:mainfrom
mcanouil:ci/quarto-docker

Conversation

@mcanouil
Copy link
Copy Markdown
Collaborator

@mcanouil mcanouil commented Apr 30, 2026

Add unzip installation to the Dockerfile to handle dependencies more effectively. Set the DEBIAN_FRONTEND to noninteractive to streamline the build process.

Most tools that you can install with quarto install require unzip.
The most common I believe is quarto install chrome-headless-shell which currently leads to:

Installing chrome-headless-shell
[✓] Downloading Chrome Headless Shell
ERROR: Error executing 'unzip': Failed to spawn 'unzip': entity not found

Stack trace:
    at execProcess (file:///opt/quarto/bin/quarto.js:7918:11)
    at unzip (file:///opt/quarto/bin/quarto.js:67214:14)
    at downloadAndExtractChrome (file:///opt/quarto/bin/quarto.js:67391:11)
    at eventLoopTick (ext:core/01_core.js:179:7)
    at async Object.preparePackage3 [as preparePackage] (file:///opt/quarto/bin/quarto.js:160811:5)
    at async installTool (file:///opt/quarto/bin/quarto.js:161246:27)
    at async _Command.actionHandler (file:///opt/quarto/bin/quarto.js:165171:11)
    at async _Command.execute (file:///opt/quarto/bin/quarto.js:102027:7)
    at async _Command.parseCommand (file:///opt/quarto/bin/quarto.js:101904:14)
    at async quarto4 (file:///opt/quarto/bin/quarto.js:187717:5)
    at async file:///opt/quarto/bin/quarto.js:187746:5
    at async file:///opt/quarto/bin/quarto.js:187600:14
    at async mainRunner (file:///opt/quarto/bin/quarto.js:187602:5)
    at async file:///opt/quarto/bin/quarto.js:187739:3

"quarto-full" has unzip so no issues.

Set DEBIAN_FRONTEND to noninteractive to streamline the build process and install unzip for handling dependencies.
@mcanouil mcanouil self-assigned this Apr 30, 2026
@mcanouil mcanouil marked this pull request as ready for review April 30, 2026 08:16
@mcanouil mcanouil changed the title dix(docker): add unzip installation dix(docker): add unzip installation to "quarto" Docker image Apr 30, 2026
@mcanouil mcanouil changed the title dix(docker): add unzip installation to "quarto" Docker image fix(docker): add unzip installation to "quarto" Docker image Apr 30, 2026
@cderv
Copy link
Copy Markdown
Member

cderv commented Apr 30, 2026

Thank you !

@cderv cderv merged commit 2fe26ed into quarto-dev:main Apr 30, 2026
90 of 93 checks passed
@mcanouil mcanouil deleted the ci/quarto-docker branch April 30, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants