File tree Expand file tree Collapse file tree 2 files changed +6
-17
lines changed
Expand file tree Collapse file tree 2 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 1- FROM alpine
2-
3- ENV CLOWDER_URL="" \
4- CLOWDER_KEY="" \
5- TARGET_FILE="" \
6- SLACK_TOKEN="" \
7- SLACK_CHANNEL="" \
8- SLACK_USER=""
9-
10- RUN apk update \
11- && apk add jq \
12- && apk add --no-cache curl \
13- && rm -rf /var/cache/apk/*
1+ FROM ubuntu:16.04
142
3+ RUN apt-get update && apt-get install -y curl jq && apt-get clean && rm -rf /var/lib/apt/lists
154
165COPY tester.sh /
176
18- CMD ["tester.sh" ]
7+ CMD ["sh" , "/ tester.sh" ]
Original file line number Diff line number Diff line change 66# Clowder URL and key to use as well as file can be defined below.
77# Needs to have 'jq' installed.
88
9- CLOWDER_URL=
10- CLOWDER_KEY=
11- TARGET_FILE=
9+ CLOWDER_URL=${CLOWDER_URL :- " " }
10+ CLOWDER_KEY=${CLOWDER_KEY :- " " }
11+ TARGET_FILE=${TARGET_FILE :- " " }
1212
1313# Slack token for notifications
1414SLACK_TOKEN=${SLACK_TOKEN:- " " }
You can’t perform that action at this time.
0 commit comments