Skip to content

Commit

Permalink
Merge pull request #1078 from carapace-sh/docker-vhs-sandbox
Browse files Browse the repository at this point in the history
docker: add `VHS_NO_SANDBOX` env
  • Loading branch information
rsteube authored Jan 4, 2025
2 parents 433c47f + 81ede70 commit 6164d5b
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,17 @@ RUN wget -q https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/p
&& rm powershell_7.4.6-1.deb_amd64.deb

RUN apt-get update \
&& apt-get install -y fish \
elvish \
ffmpeg \
expect \
shellcheck \
sudo \
tcsh \
xonsh \
zsh
&& apt-get install -y \
chromium \
elvish \
expect \
ffmpeg \
fish \
shellcheck \
sudo \
tcsh \
xonsh \
zsh

RUN pwsh -Command "Install-Module PSScriptAnalyzer -Scope AllUsers -Force"

Expand Down Expand Up @@ -122,4 +124,5 @@ COPY --chown=1000:1000 .dockerfile/home /home/carapace/
COPY .dockerfile/usr/local/bin/* /usr/local/bin/

ENV TERM xterm
ENV VHS_NO_SANDBOX 1
ENTRYPOINT [ "entrypoint.sh" ]

0 comments on commit 6164d5b

Please sign in to comment.