mirror of https://github.com/krallin/tini.git
- Upgrade to Trusty for the ARM 64 toolchain. - Cross-compile to ARM. - Label binaries and packages when releasing.arm-cross
parent
df9dbc1055
commit
c8cc8274b8
8 changed files with 164 additions and 117 deletions
@ -1,8 +1,7 @@ |
||||
FROM ubuntu:precise |
||||
FROM ubuntu:trusty |
||||
|
||||
RUN apt-get update \ |
||||
&& apt-get install --no-install-recommends --yes build-essential git gdb valgrind cmake rpm python-dev libcap-dev python-pip python-virtualenv hardening-includes gnupg vim-common \ |
||||
&& rm -rf /var/lib/apt/lists/* |
||||
COPY ci/install_deps.sh /install_deps.sh |
||||
RUN /install_deps.sh |
||||
|
||||
# Pre-install those here for faster local builds. |
||||
RUN CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37" pip install psutil python-prctl bitmap |
||||
|
@ -0,0 +1,14 @@ |
||||
#!/bin/bash |
||||
set -o errexit |
||||
set -o nounset |
||||
|
||||
apt-get update |
||||
|
||||
apt-get install --no-install-recommends --yes \ |
||||
build-essential git gdb valgrind cmake rpm \ |
||||
python-dev libcap-dev python-pip python-virtualenv \ |
||||
hardening-includes gnupg vim-common \ |
||||
gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libc6-dev-arm64-cross \ |
||||
gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabi libc6-dev-armhf-cross |
||||
|
||||
rm -rf /var/lib/apt/lists/* |
@ -0,0 +1 @@ |
||||
@tini_VERSION_MAJOR@.@tini_VERSION_MINOR@.@tini_VERSION_PATCH@ |
Loading…
Reference in new issue