Skip to content

Commit

Permalink
Add installation for ssl-keygen to dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Nov 20, 2024
1 parent e42db76 commit 69ecf04
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker/tna-python-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,20 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# lists afterwards
# ==========================================
RUN apt-get update; \

Check failure on line 19 in docker/tna-python-dev/Dockerfile

View workflow job for this annotation

GitHub Actions / Python Dev

DL3003 warning: Use WORKDIR to switch to a directory

Check failure on line 19 in docker/tna-python-dev/Dockerfile

View workflow job for this annotation

GitHub Actions / Python Dev

SC2164 warning: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
apt-get install -y --no-install-recommends ca-certificates gnupg git ssh-keygen; \
apt-get install -y --no-install-recommends gnupg git; \
install -m 0755 -d /etc/apt/keyrings; \
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg; \
chmod a+r /etc/apt/keyrings/docker.gpg; \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null; \
apt-get update; \
apt-get install -y --no-install-recommends docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin; \
\
git clone https://github.com/openssh/openssh-portable /home/app/openssh-portable; \
cd /home/app/openssh-portable; \
autoreconf; \
./configure; \
make && make tests; \
\
apt-get clean; \
apt-get autoremove -y --purge; \
rm -rfv /var/lib/apt/lists/*
Expand Down

0 comments on commit 69ecf04

Please sign in to comment.