Docker file for watertank don't work (https://sourceforge.net/p/openpearl/code/ci/watertank/tree/openpearl-code/docker/Dockerfile):
Step 14/20 : RUN ./installPackages
---> Running in 44feaadf4cd2
host linux version not detected
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
The command '/bin/sh -c ./installPackages' returned a non-zero code: 1
Anonymous
Attached is a working dockerfile. Feel free to use it :)
Changes:
- don't use a separate user, is not relevant in docker
- don't use
installPackagesscript, install all needed packages viaapt- pin the ubuntu version to avoid breaking changes in the future
I checked your Dockerfile and works fine Thanks for your help!
I wil incoporate this with some documentation.
Fixed. New Dockerfile checked in