mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 23:43:02 +01:00
12 lines
391 B
Bash
Executable File
12 lines
391 B
Bash
Executable File
#!/bin/sh
|
|
cd /tmp
|
|
apt update && apt -yq install wget libglib2.0-0 ca-certificates dnsmasq
|
|
update-ca-certificates
|
|
wget https://update.u.is/downloads/uam/linux/uam-latest_amd64.deb
|
|
dpkg -i uam-latest_amd64.deb
|
|
cd /opt/uam/
|
|
echo "[net]" >> /root/.uam/uam.ini
|
|
container_ip="$(hostname -i)"
|
|
echo "listens=[${container_ip}]:4156" >> /root/.uam/uam.ini
|
|
./uam --pk $1 --http [0.0.0.0]:17099 --no-ui
|