Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 540 Bytes
FROM norionomura/swift:421
# postgres
RUN apt-get update
RUN apt-get install -y postgresql libpq-dev
COPY Makefile ./
COPY Package.swift ./
COPY Sources ./Sources
COPY Tests ./Tests
# cmark
RUN apt-get update
RUN apt-get -y install cmake
RUN git clone
RUN make -C cmark INSTALL_PREFIX=/usr
RUN make -C cmark install
RUN swift package update
RUN swift build --product Server --configuration release && \
swift build --product Runner --configuration release
CMD .build/release/Server
You can’t perform that action at this time.