Switch to using separate musl-cross images

This commit is contained in:
Andrew Dunham 2015-06-17 17:23:27 -07:00
parent 27ba824d83
commit 6f421a3d2c
9 changed files with 7 additions and 60 deletions

View File

@ -1,4 +1,4 @@
FROM andrewd/static-binaries-musl-cross
FROM andrewd/musl-cross
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
# Add our build script

View File

@ -1,4 +1,4 @@
FROM andrewd/static-binaries-musl-cross
FROM andrewd/musl-cross
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
# Install build tools

View File

@ -1,29 +0,0 @@
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 \
file \
git \
pkg-config \
wget
# Install musl-cross
RUN mkdir /build && \
cd /build && \
git clone https://github.com/GregorR/musl-cross.git && \
cd musl-cross && \
echo 'ARCH=arm' >> config.sh && \
echo 'TRIPLE=arm-linux-musleabihf' >> config.sh && \
echo 'GCC_BOOTSTRAP_CONFFLAGS="--with-arch=armv6 --with-float=hard --with-fpu=vfp"' >> config.sh && \
echo 'GCC_CONFFLAGS="--with-arch=armv6 --with-float=hard --with-fpu=vfp"' >> config.sh && \
echo 'GCC_BUILTIN_PREREQS=yes' >> config.sh && \
sed -i -e 's/^MUSL_VERSION=.*$/MUSL_VERSION=1.1.10/' defs.sh && \
./build.sh
CMD /bin/bash

View File

@ -1,24 +0,0 @@
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 \
wget
# Install musl-cross
RUN mkdir /build && \
cd /build && \
git clone https://github.com/GregorR/musl-cross.git && \
cd musl-cross && \
echo 'GCC_BUILTIN_PREREQS=yes' >> config.sh && \
sed -i -e 's/^MUSL_VERSION=.*$/MUSL_VERSION=1.1.10/' defs.sh && \
./build.sh
CMD /bin/bash

View File

@ -1,4 +1,4 @@
FROM andrewd/static-binaries-musl-cross
FROM andrewd/musl-cross
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
# Add our build script

View File

@ -1,4 +1,4 @@
FROM andrewd/static-binaries-musl-cross
FROM andrewd/musl-cross
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
# Add our build script

View File

@ -1,4 +1,4 @@
FROM andrewd/static-binaries-musl-cross-arm
FROM andrewd/musl-cross-arm
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
# Add our build script

View File

@ -1,4 +1,4 @@
FROM andrewd/static-binaries-musl-cross
FROM andrewd/musl-cross
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
# Add our build script

View File

@ -1,4 +1,4 @@
FROM andrewd/static-binaries-musl-cross
FROM andrewd/musl-cross
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
# Add our build script