From bc2ddf6cfde497718d8babcd95264621d456937d Mon Sep 17 00:00:00 2001 From: Adrian Joian Date: Tue, 24 Oct 2023 12:43:00 +0200 Subject: [PATCH] Installing gettext RPM In order to work with yaml files for kubernetes deployments we need a tool to do variable substitutions. Usually we would use `yq` but Azure Linux is not packaging this binary the next best thing is envsubst which is provided by the gettext rpm. --- linux/base.Dockerfile | 3 ++- tests/command_list | 26 ++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/linux/base.Dockerfile b/linux/base.Dockerfile index 62fc18d5..efbaed89 100644 --- a/linux/base.Dockerfile +++ b/linux/base.Dockerfile @@ -135,7 +135,8 @@ RUN bash ./tdnfinstall.sh \ terraform \ gh \ redis \ - cpio + cpio \ + gettext # Install azure-functions-core-tools RUN wget -nv -O Azure.Functions.Cli.zip `curl -fSsL https://api.github.com/repos/Azure/azure-functions-core-tools/releases/latest | grep "url.*linux-x64" | grep -v "sha2" | cut -d '"' -f4` \ diff --git a/tests/command_list b/tests/command_list index e50ee1a7..68d7fdd6 100644 --- a/tests/command_list +++ b/tests/command_list @@ -82,6 +82,7 @@ autoheader autom4te automake automake-1.16 +autopoint autoreconf autoscan autoupdate @@ -302,6 +303,7 @@ enable enc2xs encguess env +envsubst eqn eqn2graph erb @@ -387,7 +389,7 @@ fuser futurize g++ gawk -gawk-5.1.0 +gawk-5.1.1 gcc gcc-ar gcc-nm @@ -427,6 +429,9 @@ getpcaps getpidcon getsebool getseuser +gettext +gettextize +gettext.sh gh gindxbib git @@ -684,7 +689,7 @@ libtool libtoolize link linkerd -linkerd-stable-2.11.4 +linkerd-stable-2.14.1 linux32 linux64 lkbib @@ -782,6 +787,20 @@ mountpoint mount.smb3 mpicalc mpstat +msgattrib +msgcat +msgcmp +msgcomm +msgconv +msgen +msgexec +msgfilter +msgfmt +msggrep +msginit +msgmerge +msgunfmt +msguniq mssql-scripter mssql-scripter.bat mt @@ -841,6 +860,7 @@ newgidmap newgrp newuidmap newusers +ngettext nice niceload ninfod @@ -1023,6 +1043,7 @@ readonly readprofile realpath reboot +recode-sr-latin redis-benchmark redis-check-aof redis-check-rdb @@ -1366,6 +1387,7 @@ x86_64-pc-linux-gnu-gcc-nm x86_64-pc-linux-gnu-gcc-ranlib xargs xauth +xgettext xml2-config xmlcatalog xmllint