Add hostname package to Amazon Linux 2 image

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
This commit is contained in:
Balasankar "Balu" C 2022-03-09 20:53:19 +05:30
parent 0089899f11
commit 6eac967a11
No known key found for this signature in database
GPG key ID: B77D2E2E23735427

View file

@ -3,7 +3,7 @@ FROM amazonlinux:2 as builder
RUN yum update -y -q \
&& yum groupinstall -y "Development Tools" \
&& yum install -y \
gcc gcc-c++ git make curl zlib-devel openssl-devel glibc-locale-source \
gcc gcc-c++ git make curl zlib-devel openssl-devel glibc-locale-source hostname \
&& yum clean all
ENV LANG C.UTF-8