From 6682f78366c8cdabe64d581936d141f87201add6 Mon Sep 17 00:00:00 2001 From: Nathan Denny Date: Thu, 22 May 2025 15:15:43 -0400 Subject: [PATCH] Removed Dockerfile. See the kronborg repo for the containerized deployment of bastion. --- Dockerfile | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 24b7464..0000000 --- a/Dockerfile +++ /dev/null @@ -1,48 +0,0 @@ -FROM ubuntu:22.04 - -#-- Set the specific version of bastion to install. -ENV BASTION bastion-q24A034X - -RUN apt update && apt upgrade -y - -RUN mkdir /SCRATCH && \ - mkdir /DATA && \ - mkdir /LOG && \ - mkdir /BFD && \ - mkdir /CONF && \ - mkdir /root/.private && \ - mkdir /root/.bastion && \ - mkdir /root/.ssh && \ - mkdir /etc/bastion - -#-- Install the RCAC supplied hsi package -#-- Note, that the RCAC .deb package has an undeclared dependency on libedit2 -RUN apt install -y libedit2 -COPY hsi-htar-9.3.0-rcac1-amd64.deb . -RUN dpkg --install hsi-htar-9.3.0-rcac1-amd64.deb -RUN rm hsi-htar-9.3.0-rcac1-amd64.deb - -#-- Python dependencies for bastion -RUN apt install -y \ - python3 \ - python3-yaml \ - python3-ruamel.yaml \ - python-is-python3 - -#-- Install bastion from local tar file. -WORKDIR /opt -COPY ${BASTION}.tar . -RUN tar xvf ${BASTION}.tar -RUN ln -s /opt/${BASTION} /opt/bastion -RUN rm ${BASTION}.tar - -WORKDIR / -COPY CONF/conf-000-dockerized.yaml /etc/bastion -COPY CONF/ssh_config /root/.ssh/config - -#-- Useful stuff for debugging, but can probably be taken out of distribution. -RUN apt install -y \ - nano \ - git - -