mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 09:04:27 +01:00
edf132509b
To ensure that our custom sudo wrapper is not overwritten by a future re-install of sudo, it is created in /usr/loca/bin See https://github.com/dockbuild/dockbuild/issues/52
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
# Image build scripts
|
|
COPY \
|
|
imagefiles/install-gosu-binary.sh \
|
|
imagefiles/install-gosu-binary-wrapper.sh \
|
|
/buildscripts/
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ARG REPO=http://cdn-fastly.deb.debian.org
|
|
|
|
RUN \
|
|
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 \
|
|
autogen \
|
|
bash \
|
|
build-essential \
|
|
bc \
|
|
bzip2 \
|
|
ca-certificates \
|
|
curl \
|
|
dirmngr \
|
|
file \
|
|
gettext \
|
|
gzip \
|
|
gnupg \
|
|
zip \
|
|
make \
|
|
ncurses-dev \
|
|
pkg-config \
|
|
libtool \
|
|
python \
|
|
python-pip \
|
|
rsync \
|
|
sed \
|
|
ssh \
|
|
bison \
|
|
flex \
|
|
tar \
|
|
pax \
|
|
vim \
|
|
wget \
|
|
xz-utils \
|
|
zlib1g-dev \
|
|
&& \
|
|
apt-get clean --yes && \
|
|
/buildscripts/install-gosu-binary.sh && \
|
|
/buildscripts/install-gosu-binary-wrapper.sh && \
|
|
rm -rf /buildscripts
|