add basic out script
This commit is contained in:
parent
04d63e930b
commit
47d7e28e37
3 changed files with 28 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM python:3.5-alpine
|
||||
|
||||
# https://github.com/yikaus/docker-alpine-bash/blob/34b9807/Dockerfile#L4
|
||||
RUN apk add --update bash
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --upgrade awscli
|
||||
|
||||
ADD assets/ /opt/resource/
|
||||
# RUN chmod a+x
|
||||
|
||||
CMD echo Simple S3 Resource ready.
|
10
README.md
Normal file
10
README.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Simple S3 Resource for [Concourse CI](http://concourse.ci)
|
||||
|
||||
## Development
|
||||
|
||||
Requires Docker.
|
||||
|
||||
```bash
|
||||
docker build -t s3-resource-simple .
|
||||
docker run --rm s3-resource-simple /opt/resource/out
|
||||
```
|
6
assets/out
Executable file
6
assets/out
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
echo foo
|
Loading…
Reference in a new issue