-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
we generate ubuntu containers arm and x64 as debian 11, 12
- Loading branch information
1 parent
e1dd7a6
commit d0f7285
Showing
4 changed files
with
83 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
.github/docker/Dockerfile.centreon-collect-ubuntu-jammy-test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
ARG REGISTRY_URL | ||
|
||
FROM ${REGISTRY_URL}/ubuntu:jammy | ||
Check warning on line 3 in .github/docker/Dockerfile.centreon-collect-ubuntu-jammy-test GitHub Actions / build container centreon-collect-ubuntu-jammy-testDefault value for global ARG results in an empty or invalid base image name
Check warning on line 3 in .github/docker/Dockerfile.centreon-collect-ubuntu-jammy-test GitHub Actions / build container centreon-collect-ubuntu-jammy-test-arm64Default value for global ARG results in an empty or invalid base image name
|
||
|
||
#FROM ubuntu:jammy | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
COPY . /tmp/collect | ||
|
||
RUN bash -e <<EOF | ||
|
||
apt-get update | ||
|
||
apt-get install -y --no-install-recommends tzdata | ||
|
||
apt-get -y install aptitude \ | ||
curl \ | ||
fakeroot \ | ||
gdb \ | ||
git \ | ||
git-buildpackage \ | ||
libgcrypt20 \ | ||
libgnutls30 \ | ||
libmariadb3 \ | ||
libperl-dev \ | ||
libssh2-1 \ | ||
locales \ | ||
mariadb-server \ | ||
openssl \ | ||
python3 \ | ||
python3-pip \ | ||
rrdtool \ | ||
strace \ | ||
sudo \ | ||
zip \ | ||
zstd \ | ||
perl-base | ||
|
||
apt-get clean | ||
|
||
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 | ||
|
||
pip3 install -U robotframework robotframework-databaselibrary robotframework-httpctrl robotframework-examples pymysql python-dateutil psutil | ||
pip3 install grpcio grpcio_tools py-cpuinfo cython unqlite gitpython boto3 robotframework-requests | ||
|
||
cd /tmp/collect | ||
|
||
.github/scripts/collect-prepare-test-robot.sh mariadb | ||
|
||
/bin/rm -rf /tmp/collect | ||
|
||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters