From cd857877ddcf6650bf4cc0ed375a6a117cd946c9 Mon Sep 17 00:00:00 2001 From: EvilMuffinHa Date: Sun, 12 Sep 2021 22:27:43 -0400 Subject: [PATCH] pep --- cms/Dockerfile | 12 ++++++++++++ cms/templates/home.html.hbs | 1 + 2 files changed, 13 insertions(+) diff --git a/cms/Dockerfile b/cms/Dockerfile index d0f0f25..2a84026 100644 --- a/cms/Dockerfile +++ b/cms/Dockerfile @@ -5,6 +5,18 @@ RUN cargo build --release FROM ubuntu:20.04 AS release WORKDIR /root +RUN apt-get update --fix-missing && \ + apt-get install --noconfirm -y build-essential checkinstall zlib1g-dev openssl +RUN apt-get -y install gcc +RUN apt-get -y remove openssl +RUN DEBIAN_FRONTEND=noninteractive apt-get -q update && apt-get -qy install wget make \ + && wget https://www.openssl.org/source/openssl-1.0.2g.tar.gz \ + && tar -xzvf openssl-1.0.2g.tar.gz \ + && cd openssl-1.0.2g \ + && ./config \ + && make install \ + && ln -sf /usr/local/ssl/bin/openssl 'which openssl' + COPY --from=build /build/target/release/cms ./cms CMD [ "./cms", "-r" ] diff --git a/cms/templates/home.html.hbs b/cms/templates/home.html.hbs index 37625ee..121ce0b 100644 --- a/cms/templates/home.html.hbs +++ b/cms/templates/home.html.hbs @@ -9,6 +9,7 @@ Logout
Events +
New Announcements Clubs