#!/bin/bash echo -ne "AGENT=" > .env cat "$AGENT" >> .env echo -ne "\nPUB=" >> .env cat "$PUB" >> .env echo -ne "\nFSAGENT=" >> .env cat "$FSAGENT" >> .env mkdir -pv LinuxGeneralCompiler/FinalStage/secret cp "$PRIVKEY" LinuxGeneralCompiler/FinalStage/secret/id_rsa cp "$PUBKEY" LinuxGeneralCompiler/FinalStage/secret/id_rsa.pub cp "$GRADLEPROP" LinuxGeneralCompiler/FinalStage/secret/gradle.properties docker build -t LinuxAgent LinuxGeneralCompiler/FinalStage rm -rf LinuxGeneralCompiler/FinalStage/secret docker-compose up -d