Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Install libxml2-dev on both builder and runner images
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Apr 2, 2020
1 parent 49e03bd commit 5c0e4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN mkdir -p /build/lib && cp -R /usr/lib/swift/linux/*.so* /build/lib
RUN make install prefix=/build

FROM ubuntu:18.04
RUN apt-get -qq update && apt-get install -y libatomic1 && rm -r /var/lib/apt/lists/*
RUN apt-get -qq update && apt-get install -y libatomic1 libxml2-dev && rm -r /var/lib/apt/lists/*
COPY --from=builder /build/bin/swift-doc /usr/bin
COPY --from=builder /build/lib/* /usr/lib/
ENTRYPOINT ["swift-doc"]
Expand Down

0 comments on commit 5c0e4e0

Please sign in to comment.