You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On dev branch, after cloning the repository the initial docker compose up -d returned status 1 in scripts/install/deb.sh during install of unixodbc, because the command requests confirmation of installation of additional required packages, while the -y flag was missing.
Further, curl was attempted to be used before being installed as part of the list of dependencies.
Lastly, install of msodbcsql17 freezes on a EULA confirmation request.
The following diff should now be self-explaining and fixed these problems for me. It allowed me to run the dev branch through docker. Please use at your discretion. I didn't want to post a potentially unsuitable PR, because I'm otherwise not familiar with docker and its procedures, or other intricacies of your project.
diff --git a/scripts/install/deb.sh b/scripts/install/deb.sh
index fe0e8a2c..67881bc4 100755
--- a/scripts/install/deb.sh
+++ b/scripts/install/deb.sh
@@ -88,6 +88,9 @@ fi
echo "==== Installing Dependencies ===="
+echo "apt-get install dependencies"
+sudo ${APT_GET} install --no-install-recommends ${dependencies}
+
#workaround for msodbcsql17...
sudo apt-mark hold msodbcsql17containers-common || echo "workaround erred"
@@ -95,17 +98,15 @@ echo "Workaround #2 for msodbcsql17..."
#workaround #2 for msodbcsql17...
sudo apt-get install -y libodbc1
sudo apt update
-sudo apt install unixodbc
+sudo apt install -y unixodbc
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
echo "deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main" | sudo tee /etc/apt/sources.list.d/mssql-release.list
sudo apt update
-sudo apt install msodbcsql17
+sudo ACCEPT_EULA=Y apt install -y msodbcsql17
echo "mysql setup..."
sudo debconf-set-selections <<< "mysql-server mysql-server/root_password password ${DB_ROOT_PASSWORD}"
sudo debconf-set-selections <<< "mysql-server mysql-server/root_password_again password ${DB_ROOT_PASSWORD}"
-echo "apt-get install dependencies"
-sudo ${APT_GET} install --no-install-recommends ${dependencies}
# Where default-jdk is older version, it may be installed with a higher priority than v11
for n in java javac; do
The text was updated successfully, but these errors were encountered:
Hi everyone.
On
dev
branch, after cloning the repository the initialdocker compose up -d
returned status 1 inscripts/install/deb.sh
during install ofunixodbc
, because the command requests confirmation of installation of additional required packages, while the-y
flag was missing.Further,
curl
was attempted to be used before being installed as part of the list of dependencies.Lastly, install of
msodbcsql17
freezes on a EULA confirmation request.The following diff should now be self-explaining and fixed these problems for me. It allowed me to run the dev branch through docker. Please use at your discretion. I didn't want to post a potentially unsuitable PR, because I'm otherwise not familiar with docker and its procedures, or other intricacies of your project.
The text was updated successfully, but these errors were encountered: