Skip to content

Commit

Permalink
Fix openssh build
Browse files Browse the repository at this point in the history
removed duplicate add, disable 30min+ rekey test

Signed-off-by: Andrew Durbin <andrewd@zededa.com>
  • Loading branch information
andrewd-zededa committed Jul 10, 2024
1 parent fd02b02 commit dda2a2f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ RUN tar -C .. -xzvf ../1.5.tar.gz
RUN ./autogen.sh && ./configure && make DESTDIR=/out install

WORKDIR /usr/src
ADD https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz /usr/src
RUN tar xvf openssh-9.8p1.tar.gz
WORKDIR /usr/src/openssh-9.8p1
ADD https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${OPENSSH_VERSION}.tar.gz /usr/src
ADD https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${OPENSSH_VERSION}.tar.gz.asc /usr/src
COPY ssh/RELEASE_KEY.asc /usr/src
Expand Down Expand Up @@ -96,7 +93,8 @@ RUN ./configure \

RUN make -j "$(getconf _NPROCESSORS_ONLN)"
RUN make install
RUN HARNESS_JOBS="$(getconf _NPROCESSORS_ONLN)" make tests
# Disabling the rekey test saves at least a half hour of build time. SKIP_LTESTS in README.regress
RUN HARNESS_JOBS="$(getconf _NPROCESSORS_ONLN)" make tests SKIP_LTESTS=rekey

RUN /usr/bin/install -c -m 0755 -s ssh /out/usr/bin/ssh
RUN /usr/bin/install -c -m 0755 -s scp /out/usr/bin/scp
Expand Down

0 comments on commit dda2a2f

Please sign in to comment.