summaryrefslogtreecommitdiff
path: root/ci/docker/eduvpn-server.docker
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-03-29 14:47:45 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-03-29 14:47:45 +0200
commit3e7bae91097d9a67262ab0d0b8450d9371201629 (patch)
tree96fb07b4091de115bf224ebfd009261b3729256f /ci/docker/eduvpn-server.docker
parent6192f9ab54a805c1fabe6a2c5b8eca622b565082 (diff)
Tests: Change OAuth expiry tests by using a custom expiry time
Diffstat (limited to 'ci/docker/eduvpn-server.docker')
-rw-r--r--ci/docker/eduvpn-server.docker4
1 files changed, 3 insertions, 1 deletions
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