generated from actions/hello-world-docker-action
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile
21 lines (16 loc) · 756 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM swift:5.9
ARG SWIFT_RELEASENOTES_REPOSITORY="https://github.com/SwiftPackageIndex/ReleaseNotes.git"
ARG SWIFT_RELEASENOTES_BRANCH="main"
LABEL Description="Docker Container for GitHub action swift-package-dependencies-check"
LABEL repository="http://github.com/MarcoEidinger/swift-package-dependencies-check/edit/main/Dockerfile"
LABEL maintainer="Marco Eidinger <[email protected]>"
RUN git clone -b $SWIFT_RELEASENOTES_BRANCH $SWIFT_RELEASENOTES_REPOSITORY _swift-release-notes \
&& cd _swift-release-notes \
&& git checkout main \
&& apt-get update \
&& apt-get install make \
&& make install \
&& cd
ADD entrypoint.sh /usr/local/bin/entrypoint
RUN chmod +x /usr/local/bin/entrypoint
ENTRYPOINT [ "entrypoint" ]