Initial version just show the env vars available

This commit is contained in:
Oly 2018-03-06 08:56:26 +00:00
commit 40e699e8b4
2 changed files with 13 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
# Docker image for the Drone build runner
#
# CGO_ENABLED=0 go build -a -tags netgo
# docker build --rm=true -t plugins/drone-cache .
FROM python
COPY ./example.py /bin/example
ENTRYPOINT ["/bin/example"]

5
example.py Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/python
import os
for k,v in os.environ.items():
print('%s=%s' % (k, v))