mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
Merge pull request #320 from HubertJFarnsworth/move-debian-distro-from-jessie-to-stretch
Updated debian distro from jessie to stretch
This commit is contained in:
commit
bda0c3d7ff
@ -11,10 +11,10 @@ jobs:
|
||||
- run:
|
||||
name: base build
|
||||
command: |
|
||||
docker pull debian:jessie
|
||||
docker pull debian:stretch-slim
|
||||
make base
|
||||
mkdir -p ~/docker
|
||||
docker save -o ~/docker/base.tar debian:jessie dockcross/base:latest
|
||||
docker save -o ~/docker/base.tar debian:stretch-slim dockcross/base:latest
|
||||
- run:
|
||||
name: base test
|
||||
command: |
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM debian:jessie-20181112
|
||||
FROM debian:stretch-20190326-slim
|
||||
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||
|
||||
#include "common.debian"
|
||||
|
@ -5,10 +5,10 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG REPO=http://cdn-fastly.deb.debian.org
|
||||
|
||||
RUN \
|
||||
bash -c "echo \"deb $REPO/debian jessie main contrib non-free\" > /etc/apt/sources.list" && \
|
||||
bash -c "echo \"deb $REPO/debian jessie-updates main contrib non-free\" >> /etc/apt/sources.list" && \
|
||||
bash -c "echo \"deb $REPO/debian-security jessie/updates main\" >> /etc/apt/sources.list" && \
|
||||
bash -c "echo \"deb http://ftp.debian.org/debian jessie-backports main\" >> /etc/apt/sources.list" && \
|
||||
bash -c "echo \"deb $REPO/debian stretch main contrib non-free\" > /etc/apt/sources.list" && \
|
||||
bash -c "echo \"deb $REPO/debian stretch-updates main contrib non-free\" >> /etc/apt/sources.list" && \
|
||||
bash -c "echo \"deb $REPO/debian-security stretch/updates main\" >> /etc/apt/sources.list" && \
|
||||
bash -c "echo \"deb http://ftp.debian.org/debian stretch-backports main\" >> /etc/apt/sources.list" && \
|
||||
apt-get update --yes && \
|
||||
apt-get install --no-install-recommends --yes \
|
||||
automake \
|
||||
@ -19,9 +19,11 @@ RUN \
|
||||
bzip2 \
|
||||
ca-certificates \
|
||||
curl \
|
||||
dirmngr \
|
||||
file \
|
||||
gettext \
|
||||
gzip \
|
||||
gnupg \
|
||||
zip \
|
||||
make \
|
||||
ncurses-dev \
|
||||
|
@ -33,7 +33,14 @@ curl -o /usr/local/bin/gosu.asc -# -SL $url_key
|
||||
|
||||
gpg --verify /usr/local/bin/gosu.asc
|
||||
|
||||
# cleanup
|
||||
# cleanup -- need to kill agent so that there is no race condition for
|
||||
# agent files in $GNUPGHOME. Only need to do this on newer distros
|
||||
# with gpgconf installed
|
||||
GPGCONF_BIN="$(command -v gpgconf)" || true
|
||||
if [ -n "$GPGCONF_BIN" ] && [ -x $GPGCONF_BIN ]; then
|
||||
gpgconf --kill gpg-agent
|
||||
fi
|
||||
|
||||
rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc
|
||||
|
||||
chmod +x /usr/local/bin/gosu
|
||||
|
@ -37,9 +37,6 @@ ENV AS=/usr/bin/${CROSS_TRIPLE}-as \
|
||||
|
||||
WORKDIR /work
|
||||
|
||||
# Note: Toolchain file support is currently in debian Experimental according to:
|
||||
# https://wiki.debian.org/CrossToolchains#In_jessie_.28Debian_8.29
|
||||
# We can switch to that when it becomes stable.
|
||||
COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/
|
||||
ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
|
||||
|
||||
|
@ -33,8 +33,6 @@ ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||
CC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc \
|
||||
CXX=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-g++
|
||||
|
||||
# Note: Toolchain file support is currently in debian Experimental:
|
||||
# https://wiki.debian.org/CrossToolchains#In_jessie_.28Debian_8.29
|
||||
COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/
|
||||
ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user