blob: db35f5cd6d345c5edc8ada0a6be918a72c9b3d5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|