This commit is contained in:
konrad 2019-06-22 21:52:56 +02:00
commit 6d8efee0bf
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
4 changed files with 37 additions and 0 deletions

14
.drone.yml Normal file
View File

@ -0,0 +1,14 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
pull: true
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: kolaente/zip
tags: latest

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
git-repos-vol
elk-data-vol
nexus-data-vol
gerrit-site-vol
volumes/elasticsearch-data-vol/elasticsearch/
volumes/jenkins-home-vol
*~
*.swp
*.swo
platform.secrets.sh*

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM alpine:latest
ADD https://github.com/upx/upx/releases/download/v3.95/upx-3.95-amd64_linux.tar.xz /
RUN apk add --update tar && tar xf upx-3.95-amd64_linux.tar.xz && \
mv upx-3.95-amd64_linux/upx /usr/local/bin
ENTRYPOINT ["upx"]

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# How to use this image
```
docker run -v <local path to zip>:/to_zip upx -r <zip file name> /to_zip
```