-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a separate integration test image
- Loading branch information
1 parent
55621b1
commit a50c67f
Showing
2 changed files
with
83 additions
and
63 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
80 changes: 80 additions & 0 deletions
80
tests/ci/docker_images/linux-x86/ubuntu-22.04_gcc-12x_integration/Dockerfile
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,80 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
FROM ubuntu-22.04:gcc-12x | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN set -ex && \ | ||
apt-get update && \ | ||
apt-get -y --no-install-recommends upgrade && \ | ||
apt-get -y --no-install-recommends install \ | ||
autoconf \ | ||
autoconf-archive \ | ||
autogen \ | ||
binutils-dev \ | ||
build-essential \ | ||
clang-format \ | ||
doxygen \ | ||
gcovr \ | ||
gettext \ | ||
gobject-introspection \ | ||
gnupg \ | ||
gperf \ | ||
groff \ | ||
iproute2 \ | ||
lcov \ | ||
libcap-dev \ | ||
libcurl4-openssl-dev \ | ||
libevent-dev \ | ||
libfstrm-dev \ | ||
libftdi-dev \ | ||
libglib2.0-dev \ | ||
libgmp-dev \ | ||
libini-config-dev \ | ||
libcap-ng-dev \ | ||
libcmocka0 \ | ||
libcmocka-dev \ | ||
libjemalloc-dev \ | ||
libjson-c-dev \ | ||
libltdl-dev \ | ||
liblz4-dev \ | ||
liblzo2-dev \ | ||
libnghttp2-dev \ | ||
libnl-3-dev \ | ||
libnl-genl-3-dev \ | ||
libpam-dev \ | ||
libpcre3-dev \ | ||
libpsl-dev \ | ||
libprotobuf-c-dev \ | ||
libssl-dev \ | ||
libsystemd-dev \ | ||
liburcu-dev \ | ||
libusb-1.0-0-dev \ | ||
libuv1-dev \ | ||
libyaml-dev \ | ||
net-tools \ | ||
openjdk-11-jdk \ | ||
openssl \ | ||
pandoc \ | ||
procps \ | ||
protobuf-c-compiler \ | ||
python3 \ | ||
python3-docutils \ | ||
python3-pip \ | ||
python3-pytest \ | ||
python3-six \ | ||
python3-sphinx \ | ||
ruby \ | ||
uthash-dev \ | ||
uuid-dev && \ | ||
pip3 install gcovr && \ | ||
apt-get autoremove --purge -y && \ | ||
apt-get clean && \ | ||
apt-get autoclean && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
rm -rf /tmp/* | ||
|
||
RUN adduser --disabled-password --gecos '' integration && \ | ||
adduser integration sudo && \ | ||
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers |