mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-23 18:14:07 +08:00
300d6ef45c
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
19 lines
332 B
Bash
Executable File
19 lines
332 B
Bash
Executable File
#! /bin/bash
|
|
|
|
#
|
|
# SPDX-FileCopyrightText: 2023, Iker Pedrosa <ipedrosa@redhat.com>
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
for FILE in share/containers/*; do
|
|
IFS='/'
|
|
read -ra ADDR <<< "$FILE"
|
|
IFS='.'
|
|
read -ra ADDR <<< "${ADDR[2]}"
|
|
IFS=''
|
|
if ! docker build -f $FILE . --output build-out/${ADDR[0]}; then
|
|
exit
|
|
fi
|
|
done
|