-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract common operations to reusable scripts in base images (#716)
* Fix/exclude goss tests for buildx bake * Implement separate test for Connect * Implement bake preview builds * Provision buildx in preview * Do not cache or output tests for preview Provide a buildx config for GHA Unify test sleep behavior of Workbench images * Remove test targets * Remove test layers from Dockerfiles * Change test running to be orchestrated by a Python script * Update preview builds for new test script * Create common use scripts in base image for Ubuntu 22.04 images * Create common use scripts in base image for CentOS 7 images * Move deps to subdirectory Fix hadolint issues * Ignore hadolint issue * Update permissions hex for tests * Remove build.justfile * Remove unnecessary buildx setup from build-bake-preview.yaml * Move libarchive-dev to ubuntu2204_packages.txt
- Loading branch information
1 parent
19c6dd3
commit 0d64e87
Showing
19 changed files
with
1,203 additions
and
160 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
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,20 @@ | ||
bzip2 | ||
curl | ||
git | ||
gpg | ||
gpg-agent | ||
libcurl-devel | ||
libuser-devel | ||
libxml2-devel | ||
openssl-devel | ||
openssh-clients | ||
pandoc | ||
perl-Digest-MD5 | ||
postgresql-libs | ||
redhat-lsb-core | ||
rrdtool | ||
sudo | ||
unixODBC | ||
unixODBC-devel | ||
wget | ||
which |
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,2 @@ | ||
virtualenv<20 | ||
setuptools |
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,66 @@ | ||
apt-transport-https | ||
build-essential | ||
ca-certificates | ||
cmake | ||
cracklib-runtime | ||
curl | ||
default-jdk | ||
dirmngr | ||
dpkg-sig | ||
g++ | ||
gcc | ||
gdal-bin | ||
gfortran | ||
git | ||
gnupg2 | ||
gpg | ||
gpg-agent | ||
gsfonts | ||
imagemagick | ||
libarchive-dev | ||
libcairo2-dev | ||
libcurl4-openssl-dev | ||
libev-dev | ||
libfontconfig1-dev | ||
libfreetype6-dev | ||
libfribidi-dev | ||
libgdal-dev | ||
libgeos-dev | ||
libgl1-mesa-dev | ||
libglpk-dev | ||
libglu1-mesa-dev | ||
libgmp3-dev | ||
libharfbuzz-dev | ||
libicu-dev | ||
libjpeg-dev | ||
libmagick++-dev | ||
libmysqlclient-dev | ||
libopenblas-dev | ||
libpaper-utils | ||
libpcre2-dev | ||
libpng-dev | ||
libproj-dev | ||
libsodium-dev | ||
libssh2-1-dev | ||
libssl-dev | ||
libtiff-dev | ||
libudunits2-dev | ||
libv8-dev | ||
libxml2-dev | ||
locales | ||
lsb-release | ||
make | ||
openssh-client | ||
pandoc | ||
perl | ||
sudo | ||
tcl | ||
tk | ||
tk-dev | ||
tk-table | ||
tzdata | ||
unixodbc-dev | ||
unzip | ||
wget | ||
zip | ||
zlib1g-dev |
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,21 @@ | ||
#!/bin/bash | ||
set -exo pipefail | ||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
# Output delimiter | ||
d="====" | ||
|
||
if [ -z "$DRIVERS_VERSION" ]; then | ||
echo "$d No DRIVERS_VERSION specified $d" | ||
exit 1 | ||
fi | ||
|
||
echo "$d$d Installing Professional Drivers ${DRIVERS_VERSION} $d$d" | ||
|
||
drivers_url="https://cdn.rstudio.com/drivers/7C152C12/installer/rstudio-drivers-${DRIVERS_VERSION}.el.x86_64.rpm" | ||
curl -sL "$drivers_url" -o "/tmp/rstudio-drivers_${DRIVERS_VERSION}.el.x86_64.rpm" | ||
|
||
yum install -y -q "/tmp/rstudio-drivers_${DRIVERS_VERSION}.el.x86_64.rpm" | ||
cat /opt/rstudio-drivers/odbcinst.ini.sample > /etc/odbcinst.ini | ||
|
||
rm /tmp/rstudio-drivers_${DRIVERS_VERSION}.el.x86_64.rpm |
Oops, something went wrong.