Skip to content

Commit 6a84366

Browse files
committed
updates to use Ubuntu
1 parent 5565837 commit 6a84366

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

scripts/tester/Dockerfile

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
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

165
COPY tester.sh /
176

18-
CMD ["tester.sh"]
7+
CMD ["sh", "/tester.sh"]

scripts/tester/tester.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
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
1414
SLACK_TOKEN=${SLACK_TOKEN:-""}

0 commit comments

Comments
 (0)