mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-02 14:02:21 +02:00
Update Dockerfile (#522)
* Update Dockerfile to correctly build on Docker Hub
This commit is contained in:
parent
76dfb910ca
commit
e4ab9e7316
|
@ -17,10 +17,11 @@ RUN yum install -y make git gcc libcurl-devel sqlite-devel pkg-config && \
|
||||||
RUN mkdir -p /onedrive/conf /onedrive/data
|
RUN mkdir -p /onedrive/conf /onedrive/data
|
||||||
COPY . /usr/src/onedrive
|
COPY . /usr/src/onedrive
|
||||||
RUN . "$(bash install.sh -a)" && \
|
RUN . "$(bash install.sh -a)" && \
|
||||||
/usr/src/onedrive/configure && \
|
cd /usr/src/onedrive/ && \
|
||||||
make -C /usr/src/onedrive && \
|
./configure && \
|
||||||
make -C /usr/src/onedrive install && \
|
make clean && \
|
||||||
make -C /usr/src/onedrive clean
|
make && \
|
||||||
|
make install
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
VOLUME ["/onedrive/conf"]
|
VOLUME ["/onedrive/conf"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue