mirror of
https://github.com/andrew-d/static-binaries.git
synced 2024-12-27 16:41:15 +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
|