Skip to content

Commit 5be384b

Browse files
authored
Merge pull request sil-org#234 from marcaurele/container-path
container: standard PATH location for the script
2 parents a075d56 + c406d3e commit 5be384b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
FROM alpine:3.13
22

3-
# Install packges needed
3+
# Install required packages
44
RUN apk --no-cache add ca-certificates curl bash jq py3-pip && \
55
pip install awscli
66

7-
COPY ecs-deploy /ecs-deploy
8-
RUN chmod a+x /ecs-deploy
7+
COPY ecs-deploy /usr/local/bin/ecs-deploy
8+
RUN ln -s /usr/local/bin/ecs-deploy /ecs-deploy
99

1010
COPY test.bats /test.bats
1111
COPY run-tests.sh /run-tests.sh
12-
RUN chmod a+x /run-tests.sh
1312

14-
ENTRYPOINT ["/ecs-deploy"]
13+
ENTRYPOINT ["ecs-deploy"]

0 commit comments

Comments
 (0)