From 3e7bae91097d9a67262ab0d0b8450d9371201629 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 29 Mar 2022 14:47:45 +0200 Subject: Tests: Change OAuth expiry tests by using a custom expiry time --- ci/docker/eduvpn-server.docker | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ci/docker/eduvpn-server.docker') diff --git a/ci/docker/eduvpn-server.docker b/ci/docker/eduvpn-server.docker index 52d49d1..ed33691 100644 --- a/ci/docker/eduvpn-server.docker +++ b/ci/docker/eduvpn-server.docker @@ -64,11 +64,13 @@ RUN openssl req \ -out "/etc/pki/tls/certs/${WEB_FQDN}.crt" \ -days 90 -# Add the start script +# Add the start script and expiry script WORKDIR /eduvpn/server ADD ci/docker/starteduvpn.sh /eduvpn/server +ADD ci/docker/replaceexpiry.sh /eduvpn/server RUN chmod +x ./starteduvpn.sh +RUN chmod +x ./replaceexpiry.sh # While we could mimic the systemd units ourselves, let's use a systemctl replacement script # This makes it easier to update -- cgit v1.2.3