25 lines
1.1 KiB
Docker
25 lines
1.1 KiB
Docker
FROM fedora:44
|
|
|
|
ENV TARGET_USER=garrettmills
|
|
ENV TARGET_UID=1000
|
|
ENV TARGET_GID=1000
|
|
ENV DOCKER_RUN_DIR=/run/dind
|
|
|
|
COPY k8s.repo /etc/yum.repos.d/k8s.repo
|
|
COPY startup.bash /usr/sbin/startup.bash
|
|
|
|
RUN dnf install -y \
|
|
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-44.noarch.rpm \
|
|
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-44.noarch.rpm \
|
|
&& dnf install -y \
|
|
zip unzip curl tar vim htop fish stow git openssh-clients gnupg2 make nodejs \
|
|
procps-ng rsync screen sudo which autojump hostname jq the_silver_searcher wget \
|
|
coreutils util-linux openssh-server bind-utils kubectl iproute iputils ffmpeg \
|
|
&& wget -O /etc/yum.repos.d/kanidm.repo https://download.opensuse.org/repositories/network:/idm/Fedora_44/network:idm.repo \
|
|
&& wget -O /etc/yum.repos.d/docker-ce.repo https://download.docker.com/linux/fedora/docker-ce.repo \
|
|
&& dnf install -y kanidm-clients docker-ce-cli docker-buildx-plugin docker-compose-plugin \
|
|
&& dnf clean all -y \
|
|
&& chmod +x /usr/sbin/startup.bash
|
|
|
|
CMD ["/usr/sbin/startup.bash"]
|