Export des fichiers avec les droits de l'utilisteur du HOST
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "RUN apt-get install --yes --no-install-recommends git-core" >> Dockerfile
|
||||
echo "RUN apt-get install --yes --no-install-recommends git-core git-buildpackage" >> Dockerfile
|
||||
|
@ -1,10 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${TAMARIN_UTIL}"
|
||||
|
||||
function move_output_to_dist {
|
||||
find '../' -maxdepth 1 -name "$1" -type f -print0 | xargs -0r mv -t /dist/
|
||||
}
|
||||
|
||||
# Create new directory
|
||||
mkdir -p /dist
|
||||
|
||||
# Move generated files
|
||||
mv ../*.deb /dist
|
||||
mv ../*.changes /dist
|
||||
mv ../*.dsc /dist
|
||||
mv ../*.tar.xz /dist
|
||||
move_output_to_dist "*.deb"
|
||||
move_output_to_dist "*.changes"
|
||||
move_output_to_dist "*.dsc"
|
||||
move_output_to_dist "*.tar.{bz2,gz,lzma,xz}"
|
||||
|
||||
chown -R ${HOST_UID}:${HOST_GID} /dist
|
||||
|
Reference in New Issue
Block a user