mirror of
https://github.com/linuxserver/docker-github-desktop.git
synced 2026-01-16 18:21:30 +08:00
14 lines
217 B
Bash
Executable File
14 lines
217 B
Bash
Executable File
#! /bin/bash
|
|
|
|
BIN=/usr/share/codium/bin/codium
|
|
|
|
# Run normally on privved containers or modified un non priv
|
|
if grep -q 'Seccomp:.0' /proc/1/status; then
|
|
${BIN} \
|
|
"$@"
|
|
else
|
|
${BIN} \
|
|
--no-sandbox \
|
|
"$@"
|
|
fi
|