Compare commits
No commits in common. "7b7ddc37b9c8e8cfdd5ff7ebb99e8b38a2f7224e" and "ed38197304ae709368c728763e71c87dd2f952a3" have entirely different histories.
7b7ddc37b9
...
ed38197304
35
Dockerfile
35
Dockerfile
|
@ -1,27 +1,12 @@
|
|||
FROM alpine as builder
|
||||
|
||||
RUN apk add --no-cache \
|
||||
autoconf \
|
||||
automake \
|
||||
build-base \
|
||||
c-ares-dev \
|
||||
expat-dev \
|
||||
gettext-dev \
|
||||
git \
|
||||
libtool \
|
||||
openssl-dev \
|
||||
pkgconf \
|
||||
sqlite-dev
|
||||
|
||||
RUN git clone --depth=1 https://github.com/aria2/aria2
|
||||
|
||||
RUN cd aria2 \
|
||||
&& autoreconf -i \
|
||||
&& ./configure \
|
||||
&& make -j 4
|
||||
|
||||
FROM node:11 as webui
|
||||
|
||||
RUN git clone --depth=1 https://github.com/ziahamza/webui-aria2
|
||||
WORKDIR /webui-aria2
|
||||
RUN npm install node-sass \
|
||||
&& npm install
|
||||
COPY configuration.js /webui-aria2/src/js/services/configuration.js
|
||||
RUN npm run-script build
|
||||
|
||||
RUN git clone --depth=1 https://github.com/mayswind/AriaNg /AriaNg
|
||||
WORKDIR /AriaNg
|
||||
COPY ariang-additional-options.js .
|
||||
|
@ -42,12 +27,10 @@ RUN apk add --no-cache \
|
|||
nginx \
|
||||
su-exec
|
||||
|
||||
RUN apk add --no-cache libintl
|
||||
COPY --from=builder /aria2/src/aria2c /usr/local/bin/
|
||||
|
||||
COPY --from=sbruder/aria2_exporter /aria2_exporter /aria2_exporter
|
||||
|
||||
COPY --from=webui /AriaNg/dist /srv/www/webui
|
||||
COPY --from=webui /webui-aria2/docs /srv/www/webui
|
||||
COPY --from=webui /AriaNg/dist /srv/www/webui/ng
|
||||
|
||||
COPY --from=nginx:alpine /etc/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
|
Reference in a new issue