rust-musl-builder/examples/linking-with-git2/Dockerfile
Eric Kidd 7b30114420 Merge branch 'fix/link_zlib_with_test' of https://github.com/mriehl/rust-musl-builder
Merge libgit2 support, but heavily overhaul the tests.
2018-04-08 13:42:02 -04:00

17 lines
362 B
Docker

# -*- mode: dockerfile -*-
#
# An example Dockerfile showing how to add new static C libraries using
# musl-gcc.
# Our first FROM statement declares the build environment.
FROM ekidd/rust-musl-builder AS builder
# Add our source code.
ADD . ./
# Fix permissions on source code.
RUN sudo chown -R rust:rust /home/rust
# Build our application.
RUN cargo build