mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-18 05:35:31 +02:00
Don't clone gitrep again for docker
This commit is contained in:
parent
16da1b4994
commit
b437b9607f
|
@ -15,7 +15,7 @@ RUN yum install -y make git gcc libcurl-devel sqlite-devel && \
|
|||
&& chmod +x /usr/local/bin/gosu \
|
||||
&& gosu nobody true
|
||||
RUN mkdir -p /onedrive/conf /onedrive/data
|
||||
ADD onedrive /usr/src/onedrive
|
||||
ADD . /usr/src/onedrive
|
||||
RUN . `bash install.sh -a` && \
|
||||
cd /usr/src/onedrive && \
|
||||
make install.noservice && \
|
|
@ -43,8 +43,7 @@ docker start onedrive
|
|||
docker rm -f onedrive
|
||||
```
|
||||
## Build instructions
|
||||
You can also build your own image instead of pulling the one from dockerhub:
|
||||
```bash
|
||||
cd docker
|
||||
git clone https://github.com/abraunegg/onedrive
|
||||
docker build . -t driveone/onedrive
|
||||
docker build . -t onedrive
|
||||
```
|
Loading…
Reference in a new issue