mirror of
https://github.com/andrew-d/static-binaries.git
synced 2024-12-26 15:47:19 +08:00
Switch to using separate musl-cross images
This commit is contained in:
parent
27ba824d83
commit
6f421a3d2c
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM andrewd/static-binaries-musl-cross
|
||||
FROM andrewd/musl-cross
|
||||
MAINTAINER Andrew Dunham <andrew@du.nham.ca>
|
||||
|
||||
# Install build tools
|
||||
|
@ -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
|
@ -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
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user