Files
self-host/CommonMarketplace/scripts/01-setup-first-run.sh
Kyle Spearrin 35a44f8391 Merge lite and standard marketplace images (#496)
* Merge lite and standard images

* DO changes

* fix release workflow
2026-04-17 08:25:18 -06:00

32 lines
742 B
Bash

#!/bin/bash
#
# Scripts in this directory are run during the build process.
# Each script will be uploaded to /tmp on your build server,
# given execute permissions and run. The cleanup process will
# remove the scripts from your build system after they have run
# if you use the build_image task.
#
#
# Create dedicated bitwarden user with Docker access
#
useradd -m -s /bin/bash bitwarden
usermod -aG docker bitwarden
#
# Make MOTD and boot script executable
#
chmod +x /var/lib/cloud/scripts/per-instance/001_onboot
chmod +x /etc/update-motd.d/99-bitwarden-welcome
#
# Make setup wizard scripts executable
#
chmod +x /opt/bitwarden/setup-wizard.sh
chmod +x /opt/bitwarden/install-standard.sh
chmod +x /opt/bitwarden/install-lite.sh