summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-03-09 21:58:19 -0500
committerBen Beltran <ben@nsovocal.com>2020-03-09 21:58:19 -0500
commitc96090328d49fddfe0cc22609b3f97250502c15b (patch)
treedfe3e0fa93d3e91b3574db2a9b32d7c5ed57ab3b /Dockerfile
parent413361cf1ad1110382b096d6e965e558c6ad598d (diff)
parentbd151cc4d229df466df4a9fcb450f34e43570c99 (diff)
Merge branch 'release/1.0.0'1.0.0
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..db35f5c
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,26 @@
+ARG swift_version=latest
+FROM swift:${swift_version}
+
+RUN apt-get update && apt-get install -y \
+ libsqlite3-dev \
+ ruby \
+ ruby-dev \
+ wget \
+ && rm -rf /var/lib/apt/lists/*
+
+RUN gem install --no-ri --no-rdoc jazzy
+
+# SourceKitten
+
+RUN git clone https://github.com/jpsim/SourceKitten.git /tmp/SourceKitten \
+ && cd /tmp/SourceKitten \
+ && make install \
+ && rm -rf /tmp/SourceKitten
+
+# Swiftlint
+
+RUN git clone https://github.com/realm/SwiftLint.git /tmp/SwiftLint \
+ && cd /tmp/SwiftLint \
+ && git submodule update --init --recursive \
+ && make install \
+ && rm -rf /tmp/SwiftLint