Adding on some additional build container dependencies
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -3,13 +3,24 @@ FROM quay.io/podman/stable:latest
|
|||||||
# Adding on the docker alias, docker-compose and other useful stuff
|
# Adding on the docker alias, docker-compose and other useful stuff
|
||||||
RUN dnf install -y podman-docker buildah skopeo docker-compose \
|
RUN dnf install -y podman-docker buildah skopeo docker-compose \
|
||||||
util-linux ansible-core openssh-clients krb5-devel krb5-libs krb5-workstation git jq unzip coreutils \
|
util-linux ansible-core openssh-clients krb5-devel krb5-libs krb5-workstation git jq unzip coreutils \
|
||||||
helm doctl kubernetes-client pinentry
|
helm doctl kubernetes-client origin-clients gnupg2 pinentry
|
||||||
|
|
||||||
|
# Adding the Azure CLI
|
||||||
|
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \
|
||||||
|
&& dnf install -y https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm \
|
||||||
|
&& dnf install -y azure-cli
|
||||||
|
|
||||||
# Adding some Ansible Key and Timeout setting
|
# Adding some Ansible Key and Timeout setting
|
||||||
ENV ANSIBLE_HOST_KEY_CHECKING=False
|
ENV ANSIBLE_HOST_KEY_CHECKING=False
|
||||||
ENV ANSIBLE_TIMEOUT=60
|
ENV ANSIBLE_TIMEOUT=60
|
||||||
RUN printf "\nStrictHostKeyChecking no\n" >> /etc/ssh/ssh_config
|
RUN printf "\nStrictHostKeyChecking no\n" >> /etc/ssh/ssh_config
|
||||||
|
ENV GPG_TTY /dev/console
|
||||||
|
|
||||||
|
# Adding RPM build tools along with FPM
|
||||||
|
RUN dnf install -y rpm-build rpm-sign rubygems ruby-devel gcc gcc-c++ make libffi-devel
|
||||||
|
|
||||||
|
RUN gem install ffi \
|
||||||
|
&& gem install fpm
|
||||||
|
|
||||||
# Remove the Emulate Docker CLI using podman messages
|
# Remove the Emulate Docker CLI using podman messages
|
||||||
RUN touch /etc/containers/nodocker
|
RUN touch /etc/containers/nodocker
|
||||||
Reference in New Issue
Block a user