mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update
This commit is contained in:
parent
abb6a69a63
commit
5721b3aa96
@ -7,8 +7,8 @@ MAINTAINER kev <noreply@datageek.info>
|
||||
|
||||
ENV DIR /var/lib/aria2
|
||||
ENV ETC /etc/aria2
|
||||
ENV CERT server-cert.pem
|
||||
ENV KEY server-key.pem
|
||||
ENV CERT $ETC/server-cert.pem
|
||||
ENV KEY $ETC/server-key.pem
|
||||
ENV TOKEN 00000000-0000-0000-0000-000000000000
|
||||
ENV PORT 6800
|
||||
|
||||
@ -16,7 +16,6 @@ RUN apt-get update \
|
||||
&& apt-get install -y aria2 openssl \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir -p $ETC $DIR \
|
||||
&& cd $ETC \
|
||||
&& openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $KEY -out $CERT -batch
|
||||
|
||||
EXPOSE $PORT
|
||||
|
Loading…
Reference in New Issue
Block a user