]> git.r.bdr.sh - rbdr/lyricli/blame - Dockerfile
Conditional build + better error
[rbdr/lyricli] / Dockerfile
CommitLineData
6a628388
BB
1ARG swift_version=latest
2FROM swift:${swift_version}
3
4RUN 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
11RUN gem install --no-ri --no-rdoc jazzy
12
13# SourceKitten
14
15RUN 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
22RUN 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