Improve dockerfiles

This commit is contained in:
uazo
2021-06-30 12:44:14 +00:00
parent afacbfa3b3
commit f4027f0511
8 changed files with 53 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ COPY config-file .
RUN apt-get update \
&& \
apt-get -y install sudo wget git \
apt-get -y install sudo wget git socat \
&& \
sudo chmod +x ./install-goma-server.sh \
&& \

View File

@@ -12,6 +12,7 @@ echo -e ${RED} -------- install go 16.2 ${NC}
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
rm go1.16.2.linux-amd64.tar.gz
echo -e ${RED} -------- cloning goma-server ${NC}

View File

@@ -7,6 +7,8 @@ NC='\033[0m' # No Color
echo -e ${RED} -------- start goma-server ${NC}
socat UNIX-LISTEN:/tmp/proxy/bots.sock,reuseaddr,fork TCP4:$REMOTEEXEC_ADDR &
cd ./goma-server/
/usr/local/go/bin/go run ./cmd/remoteexec_proxy/main.go \
--port 5050 \