mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-09 17:32:34 +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 \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& gosu nobody true
|
&& gosu nobody true
|
||||||
RUN mkdir -p /onedrive/conf /onedrive/data
|
RUN mkdir -p /onedrive/conf /onedrive/data
|
||||||
ADD onedrive /usr/src/onedrive
|
ADD . /usr/src/onedrive
|
||||||
RUN . `bash install.sh -a` && \
|
RUN . `bash install.sh -a` && \
|
||||||
cd /usr/src/onedrive && \
|
cd /usr/src/onedrive && \
|
||||||
make install.noservice && \
|
make install.noservice && \
|
|
@ -43,8 +43,7 @@ docker start onedrive
|
||||||
docker rm -f onedrive
|
docker rm -f onedrive
|
||||||
```
|
```
|
||||||
## Build instructions
|
## Build instructions
|
||||||
|
You can also build your own image instead of pulling the one from dockerhub:
|
||||||
```bash
|
```bash
|
||||||
cd docker
|
docker build . -t onedrive
|
||||||
git clone https://github.com/abraunegg/onedrive
|
|
||||||
docker build . -t driveone/onedrive
|
|
||||||
```
|
```
|
Loading…
Reference in a new issue