Clean repos and fix clean rule

Move common files to common folder
Move patch files to patch folder
Fix clean rule in Makefile (Remove /Dockerfile in path, he is already there)

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2021-06-29 19:10:34 +02:00
parent 12a662e05c
commit 927f709819
11 changed files with 17 additions and 15 deletions

16
common/common.dockcross Normal file
View File

@ -0,0 +1,16 @@
WORKDIR /usr/src
# Image build scripts
COPY \
imagefiles/install-gosu-binary.sh \
imagefiles/install-gosu-binary-wrapper.sh \
/buildscripts/
RUN \
set -x && \
/buildscripts/install-gosu-binary.sh && \
/buildscripts/install-gosu-binary-wrapper.sh && \
rm -rf /buildscripts
# Runtime scripts
COPY imagefiles/entrypoint.sh imagefiles/dockcross /dockcross/