first commit
All checks were successful
the build was successful

This commit is contained in:
Andy 2018-01-16 21:02:33 +01:00
commit 3c0c0740c1
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C
4 changed files with 30 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
.drone.yml

9
.drone.yml Normal file
View File

@ -0,0 +1,9 @@
pipeline:
publish:
image: plugins/docker:17.10
repo: andrey01/aria2c
tag: latest
dockerfile: Dockerfile
secrets: [ docker_username, docker_password ]
when:
event: [push, tag]

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM alpine:3.7
LABEL maintainer="andrey.arapov@nixaid.com"
RUN apk add --update aria2
WORKDIR /w
ENTRYPOINT ["/usr/bin/aria2c"]

15
README.md Normal file
View File

@ -0,0 +1,15 @@
# aria2c
## Usage
```
echo 'alias aria2c="docker run -u \$(id -u):\$(id -g) -v \$(pwd):/w --rm -ti andrey01/aria2c"' | tee -a ~/.bashrc
source ~/.bashrc
aria2c yourlink...
```
## Build
```
docker build -t andrey01/aria2c .
```