Commit af41acc7 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] runTests.sh: Don't mount home, passwd, group

The patch changes runTests.sh and the container
definition to avoid mounting users home, /etc/passwd
and /etc/group. yarn based setups need some special
treatment but in the end bow to shell power, too.

Change-Id: I4e5665d31c5bef4e046e992eddd534ae597cce31
Resolves: #96253
Releases: main, 11.5, 10.4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72487


Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Jochen's avatarJochen <rothjochen@gmail.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Jochen's avatarJochen <rothjochen@gmail.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 71334658
......@@ -18,8 +18,6 @@ setUpDockerComposeDotEnv() {
# use $UID directly itself since it is a shell variable and not an env variable, so
# we have to set it explicitly here.
echo "HOST_UID=$(id -u)"
# Your local home directory for composer and npm caching
echo "HOST_HOME=${HOME}"
# Your local user
echo "CORE_ROOT=${CORE_ROOT}"
echo "HOST_USER=${USER}"
......@@ -38,7 +36,6 @@ setUpDockerComposeDotEnv() {
echo "PHP_VERSION=${PHP_VERSION}"
echo "CHUNKS=${CHUNKS}"
echo "THISCHUNK=${THISCHUNK}"
echo "PASSWD_PATH=${PASSWD_PATH}"
} > .env
}
......@@ -308,7 +305,6 @@ MYSQL_VERSION="5.5"
POSTGRES_VERSION="10"
CHUNKS=0
THISCHUNK=0
PASSWD_PATH=/etc/passwd
# Option parsing
# Reset in case getopts has been used previously in the shell
......@@ -408,20 +404,6 @@ fi
# Move "7.4" to "php74", the latter is the docker container name
DOCKER_PHP_IMAGE=$(echo "php${PHP_VERSION}" | sed -e 's/\.//')
# Some scripts rely on a proper /etc/passwd that includes the user that runs the
# containers, for instance to determine users $HOME. yarn v1 is espcecially picky
# here since it fails if it can't write a .yarnrc file to users home ...
# MacOS in it's endless wisdom however decided that /etc/passwd is a stupid thing
# and does not write an entry for the standard user in it. In turn, stuff like yarn fails.
# As a solution, we detect if the user executing the script is within /etc/passwd
# and volume mount that file within containers. If not, we create a fake passwd file
# and mount that one.
[ -z "${USER}" ] && USER=$(id -u -n)
if [ "$(grep -c "^${USER}:" /etc/passwd)" -ne 1 ]; then
echo "${USER}:x:$(id -u "$USER"):$(id -g "$USER"):$(id -gn "$USER"):${HOME}:/bin/bash" > macos_passwd
PASSWD_PATH="./macos_passwd"
fi
# Set $1 to first mass argument, this is the optional test file or test directory to execute
shift $((OPTIND - 1))
TEST_FILE=${1}
......
......@@ -96,9 +96,6 @@ services:
typo3DatabaseHost: mariadb
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......@@ -153,9 +150,6 @@ services:
typo3DatabaseHost: mysql
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......@@ -205,9 +199,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: pdo_pgsql
typo3DatabaseName: bamboo
......@@ -270,9 +261,6 @@ services:
typo3InstallMysqlDatabasePassword: funcp
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......@@ -320,9 +308,6 @@ services:
typo3InstallMysqlDatabasePassword: funcp
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......@@ -371,9 +356,6 @@ services:
working_dir: ${CORE_ROOT}
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
extra_hosts:
- "host.docker.internal:host-gateway"
command: >
......@@ -407,9 +389,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......@@ -435,16 +414,16 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
HOME: "${CORE_ROOT}/.cache"
working_dir: ${CORE_ROOT}/Build
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
YARN_CACHE_FOLDER="../.cache/yarn" yarn install || exit 1
mkdir -p ${CORE_ROOT}/.cache
yarn install || exit 1
node_modules/grunt/bin/grunt css
"
......@@ -453,16 +432,16 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
HOME: "${CORE_ROOT}/.cache"
working_dir: ${CORE_ROOT}/Build
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
YARN_CACHE_FOLDER="../.cache/yarn" yarn install || exit 1
mkdir -p ${CORE_ROOT}/.cache
yarn install || exit 1
node_modules/grunt/bin/grunt scripts
"
......@@ -471,9 +450,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -488,9 +464,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -506,9 +479,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -523,9 +493,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -540,9 +507,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -557,9 +521,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -574,9 +535,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -591,9 +549,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -608,9 +563,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -625,9 +577,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -642,9 +591,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -659,9 +605,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -679,16 +622,16 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
HOME: "${CORE_ROOT}/.cache"
working_dir: ${CORE_ROOT}/Build
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
YARN_CACHE_FOLDER="../.cache/yarn" yarn install || exit 1
mkdir -p ${CORE_ROOT}/.cache
yarn install || exit 1
node_modules/grunt/bin/grunt build;
cd ..;
git add *;
......@@ -701,9 +644,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -718,9 +658,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -735,9 +672,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
environment:
COMPOSER_CACHE_DIR: ".cache/composer"
......@@ -754,9 +688,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
environment:
COMPOSER_CACHE_DIR: ".cache/composer"
......@@ -775,9 +706,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
environment:
COMPOSER_CACHE_DIR: ".cache/composer"
......@@ -796,9 +724,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
environment:
COMPOSER_CACHE_DIR: .cache/composer
......@@ -818,9 +743,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -860,9 +782,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: "${DATABASE_DRIVER}"
typo3DatabaseName: func_test
......@@ -900,9 +819,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: "${DATABASE_DRIVER}"
typo3DatabaseName: func_test
......@@ -953,9 +869,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: "${DATABASE_DRIVER}"
typo3DatabaseName: func_test
......@@ -993,9 +906,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: "${DATABASE_DRIVER}"
typo3DatabaseName: func_test
......@@ -1047,9 +957,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: "${DATABASE_DRIVER}"
typo3DatabaseName: func
......@@ -1089,9 +996,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: "${DATABASE_DRIVER}"
typo3DatabaseName: func
......@@ -1144,9 +1048,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: pdo_pgsql
typo3DatabaseName: bamboo
......@@ -1184,9 +1085,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: pdo_pgsql
typo3DatabaseName: bamboo
......@@ -1231,9 +1129,6 @@ services:
- ${CORE_ROOT}/typo3temp/var/tests/functional-sqlite-dbs/:rw,noexec,nosuid,uid=${HOST_UID}
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: pdo_sqlite
typo3TestingRedisHost: redis4
......@@ -1269,9 +1164,6 @@ services:
- ${CORE_ROOT}/typo3temp/var/tests/functional-sqlite-dbs/:rw,noexec,nosuid,uid=${HOST_UID}
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
typo3DatabaseDriver: pdo_sqlite
typo3TestingRedisHost: redis4
......@@ -1301,8 +1193,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -1318,16 +1208,16 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
HOME: "${CORE_ROOT}/.cache"
working_dir: ${CORE_ROOT}/Build
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
YARN_CACHE_FOLDER="../.cache/yarn" yarn install || exit 1
mkdir -p ${CORE_ROOT}/.cache
yarn install || exit 1
node_modules/grunt/bin/grunt stylelint;
"
......@@ -1336,16 +1226,16 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
HOME: "${CORE_ROOT}/.cache"
working_dir: ${CORE_ROOT}/Build
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
YARN_CACHE_FOLDER="../.cache/yarn" yarn install || exit 1
mkdir -p ${CORE_ROOT}/.cache
yarn install || exit 1
node_modules/grunt/bin/grunt lintspaces;
"
......@@ -1354,16 +1244,16 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
HOME: "${CORE_ROOT}/.cache"
working_dir: ${CORE_ROOT}/Build
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
YARN_CACHE_FOLDER="../.cache/yarn" yarn install || exit 1
mkdir -p ${CORE_ROOT}/.cache
yarn install || exit 1
node_modules/grunt/bin/grunt eslint;
"
......@@ -1372,9 +1262,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
command: >
/bin/sh -c "
......@@ -1404,9 +1291,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......@@ -1432,9 +1316,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......@@ -1460,16 +1341,16 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
environment:
HOME: "${CORE_ROOT}/.cache"
working_dir: ${CORE_ROOT}/Build
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
YARN_CACHE_FOLDER="../.cache/yarn" yarn install || exit 1
mkdir -p ${CORE_ROOT}/.cache
yarn install || exit 1
cd ..;
Build/node_modules/karma/bin/karma start vendor/typo3/testing-framework/Resources/Core/Build/Configuration/JSUnit/karma.conf.ci.js --single-run
"
......@@ -1479,9 +1360,6 @@ services:
user: "${HOST_UID}"
volumes:
- ${CORE_ROOT}:${CORE_ROOT}
- ${HOST_HOME}:${HOST_HOME}
- ${PASSWD_PATH}:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${CORE_ROOT}
extra_hosts:
- "host.docker.internal:host-gateway"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment