mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 10:23:34 +02:00
Backport install-gosu-binary-wrapper from dockbuid
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
This commit is contained in:
@ -5,7 +5,7 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||
# See https://github.com/asRIA/emscripten-docker/blob/master/Dockerfile.in#L4
|
||||
RUN rm /bin/sh && ln -s /bin/dash /bin/sh
|
||||
|
||||
COPY install-gosu-sudo.sh /buildscripts/
|
||||
COPY imagefiles/install-gosu-binary-wrapper.sh /buildscripts/
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG REPO=http://cdn-fastly.deb.debian.org
|
||||
@ -51,7 +51,7 @@ RUN \
|
||||
zlib1g-dev \
|
||||
&& \
|
||||
apt-get clean --yes && \
|
||||
/buildscripts/install-gosu-sudo.sh && \
|
||||
/buildscripts/install-gosu-binary-wrapper.sh && \
|
||||
rm -rf /buildscripts
|
||||
|
||||
#include "common.docker"
|
||||
|
Reference in New Issue
Block a user