2018-04-08 17:42:02 +00:00
|
|
|
# -*- 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.
|
2019-11-13 10:14:16 +00:00
|
|
|
ADD --chown=rust:rust . ./
|
2018-04-08 17:42:02 +00:00
|
|
|
|
|
|
|
# Build our application.
|
|
|
|
RUN cargo build
|