Viktor Szakats
839bb84e89
ci/GHA: fix Dockerfile failing after Ubuntu package update
Likely due an upstream Ubuntu package update (requiring an apt-get
install call beforehand), tests run via autotools started failing with
no change in the libssh2 repo:
```
FAIL: test_aa_warmup
====================
Error running command 'docker build --quiet -t libssh2/openssh_server %s' (exit 256): Dockerfile:10
--------------------
8 | && apt-get clean \
9 | && rm -rf /var/lib/apt/lists/*
10 | >>> RUN mkdir /var/run/sshd
11 |
12 | # Chmodding because, when building on Windows, files are copied in with
--------------------
ERROR: failed to solve: process "/bin/sh -c mkdir /var/run/sshd" did not complete successfully: exit code: 1
Failed to build docker image
Cannot stop session - none started
Cannot stop container - none started
Command: docker build --quiet -t libssh2/openssh_server ../../tests/openssh_server
FAIL test_aa_warmup (exit status: 1)
```
Ref: https://github.com/libssh2/libssh2/actions/runs/9322194756/job/25662748095#step:11:390
Fix it by skipping `mkdir` if `/var/run/sshd` already exists.
(Why cmake-based jobs aren't affected, I don't know.)
Ref: 50143d5867 (commitcomment-142560875)
Closes #1400
2024-05-31 21:21:30 +02:00
..
2023-11-09 22:38:07 +00:00
2024-05-31 21:21:30 +02:00
2023-11-06 15:00:08 +00:00
2023-05-03 13:07:15 +00:00
2024-03-28 23:30:20 +01:00
2024-04-03 17:55:48 +02:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2021-05-12 09:13:19 -07:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-24 21:28:28 +00:00
2018-08-02 14:00:25 -07:00
2018-08-02 14:00:25 -07:00
2023-04-24 21:28:28 +00:00
2016-08-14 16:03:25 +01:00
2023-07-26 07:17:29 +00:00
2023-07-26 07:17:29 +00:00
2017-03-02 00:51:37 +01:00
2017-03-02 00:51:37 +01:00
2018-08-02 14:00:25 -07:00
2023-04-16 22:50:01 +00:00
2024-04-03 17:55:48 +02:00
2024-04-03 17:55:48 +02:00
2024-04-03 17:55:48 +02:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2016-08-14 16:03:25 +01:00
2024-04-26 22:58:55 +02:00
2024-04-03 17:55:48 +02:00
2023-06-21 12:50:26 +00:00
2024-03-29 13:52:52 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-12-03 01:32:20 +00:00
2023-06-07 08:18:55 +02:00
2023-12-04 13:11:28 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-12-03 01:32:20 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-08-03 01:12:21 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-07-26 07:17:29 +00:00
2023-08-28 22:57:26 +00:00
2023-06-07 08:18:55 +02:00
2024-04-03 17:55:48 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-12-03 01:32:20 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-04-24 21:28:28 +00:00
2023-12-04 13:11:28 +00:00
2023-06-07 08:18:55 +02:00
2023-12-13 01:28:14 +00:00
2024-05-24 15:40:54 +02:00