mirror of
https://github.com/andrew-d/static-binaries.git
synced 2024-12-26 15:47:19 +08:00
19 lines
470 B
Docker
19 lines
470 B
Docker
FROM debian:jessie
|
|
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
|
|
|
|
# Install build tools
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get upgrade -yy && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -yy \
|
|
automake \
|
|
build-essential \
|
|
curl \
|
|
git \
|
|
pkg-config
|
|
|
|
RUN mkdir /build
|
|
ADD . /build
|
|
|
|
# This builds the program and copies it to /output
|
|
CMD /build/build.sh
|