mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-29 10:50:30 +02:00
Merge branch 'master' into fix-issue-966
This commit is contained in:
commit
f853e86536
|
@ -2,7 +2,7 @@ FROM centos:7
|
|||
ENV GOSU_VERSION=1.11
|
||||
|
||||
RUN yum install -y make git gcc libcurl-devel sqlite-devel pkg-config && \
|
||||
yum install -y http://downloads.dlang.org/releases/2.x/2.091.0/dmd-2.091.0-0.fedora.x86_64.rpm && \
|
||||
yum install -y http://downloads.dlang.org/releases/2.x/2.092.1/dmd-2.092.1-0.fedora.x86_64.rpm && \
|
||||
rm -rf /var/cache/yum/ && \
|
||||
# gosu installation
|
||||
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
# -*-Dockerfile-*-
|
||||
FROM debian:stretch
|
||||
RUN apt update && \
|
||||
apt install -y build-essential curl libcurl4-openssl-dev libsqlite3-dev pkg-config git
|
||||
RUN curl -fsS -o install.sh https://dlang.org/install.sh && \
|
||||
bash install.sh dmd
|
||||
apt install -y build-essential curl libcurl4-openssl-dev libsqlite3-dev pkg-config git wget
|
||||
RUN wget http://downloads.dlang.org/releases/2.x/2.092.1/dmd_2.092.1-0_amd64.deb -O /tmp/dmd_amd64.deb && \
|
||||
dpkg -i /tmp/dmd_amd64.deb
|
||||
RUN rm -f /tmp/dmd_amd64.deb
|
||||
|
||||
COPY . /usr/src/onedrive
|
||||
RUN . "$(bash install.sh -a)" && \
|
||||
cd /usr/src/onedrive/ && \
|
||||
RUN cd /usr/src/onedrive/ && \
|
||||
./configure && \
|
||||
make clean && \
|
||||
make && \
|
||||
|
|
Loading…
Reference in a new issue