]> git.r.bdr.sh - rbdr/lyricli/blob - Dockerfile
add distribution to gitignore
[rbdr/lyricli] / Dockerfile
1 ARG swift_version=latest
2 FROM swift:${swift_version}
3
4 RUN apt-get update && apt-get install -y \
5 libsqlite3-dev \
6 ruby \
7 ruby-dev \
8 wget \
9 && rm -rf /var/lib/apt/lists/*
10
11 RUN gem install --no-ri --no-rdoc jazzy
12
13 # SourceKitten
14
15 RUN git clone https://github.com/jpsim/SourceKitten.git /tmp/SourceKitten \
16 && cd /tmp/SourceKitten \
17 && make install \
18 && rm -rf /tmp/SourceKitten
19
20 # Swiftlint
21
22 RUN git clone https://github.com/realm/SwiftLint.git /tmp/SwiftLint \
23 && cd /tmp/SwiftLint \
24 && git submodule update --init --recursive \
25 && make install \
26 && rm -rf /tmp/SwiftLint