-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into old-galaxy-url
- Loading branch information
Showing
2 changed files
with
7 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# rockylinux:9 | ||
ARG BASE_IMAGE="quay.io/centos/centos:stream8" | ||
FROM ${BASE_IMAGE} | ||
MAINTAINER "Will Szumski" <[email protected]> | ||
LABEL maintainer="Will Szumski [email protected]" | ||
|
||
# Unclear at this time if different environments will change | ||
# control host bootstrap. | ||
|
@@ -26,21 +26,17 @@ ENV container docker | |
# VOLUME [ "/sys/fs/cgroup" ] | ||
|
||
# CMD ["/usr/sbin/init"] | ||
# Note on CentOS 8 rsync-3.1.3-14.el8 install: | ||
# Workaround rsync: --sparse-block=1024: unknown option | ||
# Hopepfully they have fixed this issue before this old | ||
# package is removed. | ||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=2043753 | ||
|
||
ARG BASE_IMAGE="quay.io/centos/centos:stream8" | ||
RUN dnf install epel-release -y && \ | ||
dnf update -y --nobest && \ | ||
dnf install -y gcc git vim python3-pyyaml \ | ||
libffi-devel sudo which openssh-server e2fsprogs \ | ||
diffstat diffutils debootstrap procps-ng gdisk util-linux \ | ||
dosfstools lvm2 kpartx systemd-udev bash-completion && \ | ||
dosfstools lvm2 kpartx systemd-udev bash-completion rsync && \ | ||
if [ "$(grep "^PRETTY_NAME=\"Rocky Linux 9" /etc/os-release)" ] ; then \ | ||
dnf install -y rsync python3 python3-pip iproute ; else \ | ||
dnf install -y python3-virtualenv rsync-3.1.3-14.el8 ; fi && \ | ||
dnf install -y python3 python3-pip iproute ; else \ | ||
dnf install -y python3-virtualenv ; fi && \ | ||
dnf clean all | ||
|
||
# Configure lvm not to use udev for device discovery. This allows you to use | ||
|
@@ -80,7 +76,7 @@ COPY --chown=stack:stack $KAYOBE_DOCKER_SSH_CONFIG_PATH /stack/.ssh/config | |
RUN chmod 600 /stack/.ssh/config | ||
|
||
# Copy custom binaries into image. The wildcard worksaround the check on the parent directory existing. | ||
COPY .automation/utils/kayobe-automation-activate .automation.conf/docker*/kayobe/bin/* /usr/local/bin | ||
COPY .automation/utils/kayobe-automation-activate .automation.conf/docker*/kayobe/bin/* /usr/local/bin/ | ||
|
||
# Allow an ansible.cfg in kayobe-config to be used for control host bootrap | ||
ARG ANSIBLE_CONFIG=/stack/kayobe-automation-env/src/kayobe-config/etc/kayobe/ansible.cfg | ||
|