Skip to content

Commit

Permalink
Installing gettext RPM (#359)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
naioja authored Oct 26, 2023
1 parent d06979a commit 60800b7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
3 changes: 2 additions & 1 deletion linux/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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` \
Expand Down
26 changes: 24 additions & 2 deletions tests/command_list
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ autoheader
autom4te
automake
automake-1.16
autopoint
autoreconf
autoscan
autoupdate
Expand Down Expand Up @@ -302,6 +303,7 @@ enable
enc2xs
encguess
env
envsubst
eqn
eqn2graph
erb
Expand Down Expand Up @@ -387,7 +389,7 @@ fuser
futurize
g++
gawk
gawk-5.1.0
gawk-5.1.1
gcc
gcc-ar
gcc-nm
Expand Down Expand Up @@ -427,6 +429,9 @@ getpcaps
getpidcon
getsebool
getseuser
gettext
gettextize
gettext.sh
gh
gindxbib
git
Expand Down Expand Up @@ -684,7 +689,7 @@ libtool
libtoolize
link
linkerd
linkerd-stable-2.11.4
linkerd-stable-2.14.1
linux32
linux64
lkbib
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -841,6 +860,7 @@ newgidmap
newgrp
newuidmap
newusers
ngettext
nice
niceload
ninfod
Expand Down Expand Up @@ -1023,6 +1043,7 @@ readonly
readprofile
realpath
reboot
recode-sr-latin
redis-benchmark
redis-check-aof
redis-check-rdb
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 60800b7

Please sign in to comment.