mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-11-22 04:51:15 -05:00
pep
This commit is contained in:
parent
2d4f8da847
commit
cd857877dd
|
@ -5,6 +5,18 @@ RUN cargo build --release
|
||||||
|
|
||||||
FROM ubuntu:20.04 AS release
|
FROM ubuntu:20.04 AS release
|
||||||
WORKDIR /root
|
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
|
COPY --from=build /build/target/release/cms ./cms
|
||||||
CMD [ "./cms", "-r" ]
|
CMD [ "./cms", "-r" ]
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
<a href="/logout">Logout</a>
|
<a href="/logout">Logout</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="/ui/events">Events</a>
|
<a href="/ui/events">Events</a>
|
||||||
|
<br>
|
||||||
<a href="/ui/new">New</a>
|
<a href="/ui/new">New</a>
|
||||||
<a href="/ui/announcements">Announcements</a>
|
<a href="/ui/announcements">Announcements</a>
|
||||||
<a href="/ui/clubs">Clubs</a>
|
<a href="/ui/clubs">Clubs</a>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user