mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-08 16:56:39 +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
|
||||
COPY . /usr/src/onedrive
|
||||
RUN . "$(bash install.sh -a)" && \
|
||||
/usr/src/onedrive/configure && \
|
||||
make -C /usr/src/onedrive && \
|
||||
make -C /usr/src/onedrive install && \
|
||||
make -C /usr/src/onedrive clean
|
||||
cd /usr/src/onedrive/ && \
|
||||
./configure && \
|
||||
make clean && \
|
||||
make && \
|
||||
make install
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
VOLUME ["/onedrive/conf"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue