Skip to content

Commit

Permalink
Merge pull request #128 from vrtdev/feature/libssh2-for-rugged-r10k
Browse files Browse the repository at this point in the history
Add libssh2 to give rugged for R10K ssh capabilities
  • Loading branch information
rwaffen authored Oct 4, 2024
2 parents 01b6c21 + 97fae9f commit f9c564f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions puppetserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ARG UBUNTU_CODENAME=jammy

FROM ubuntu:22.04 AS base

ARG PACKAGES="ca-certificates git netbase openjdk-17-jre-headless ruby3.0 openssh-client"
ARG BUILD_PKGS="ruby3.0-dev gcc make cmake pkg-config libssl-dev libc6-dev"
ARG PACKAGES="ca-certificates git netbase openjdk-17-jre-headless ruby3.0 openssh-client libssh2-1"
ARG BUILD_PKGS="ruby3.0-dev gcc make cmake pkg-config libssl-dev libc6-dev libssh2-1-dev"
ARG DUMB_INIT_VERSION="1.2.5"
ARG TARGETARCH

Expand Down Expand Up @@ -79,7 +79,7 @@ RUN chmod +x /docker-entrypoint.sh /healthcheck.sh /docker-entrypoint.d/*.sh &&
apt-get update && \
apt-get install -y --no-install-recommends $PACKAGES $BUILD_PKGS && \
gem install --no-doc r10k -v $R10K_VERSION && \
gem install --no-doc rugged -v $RUGGED_VERSION && \
gem install --no-doc rugged -v $RUGGED_VERSION -- --with-ssh && \
dpkg -i dumb-init_"$DUMB_INIT_VERSION"_"$TARGETARCH".deb && \
rm dumb-init_"$DUMB_INIT_VERSION"_"$TARGETARCH".deb && \
apt remove -y $BUILD_PKGS && \
Expand Down

0 comments on commit f9c564f

Please sign in to comment.