Commit 7c92480d authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] infra-352 bamboo agent environment handling

parent a8c2a06c
......@@ -7,5 +7,15 @@ set -x
cp /pd_build/bin/my_init /sbin/
mkdir -p /etc/my_init.d
mkdir -p /etc/container_environment
touch /etc/container_environment.sh
touch /etc/container_environment.json
chmod 700 /etc/container_environment
groupadd -g 8377 docker_env
chown :docker_env /etc/container_environment.sh /etc/container_environment.json
chmod 640 /etc/container_environment.sh /etc/container_environment.json
ln -s /etc/container_environment.sh /etc/profile.d/
# Install runit.
minimal_apt_get_install runit
Markdown is supported
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