Add new base images

This commit is contained in:
Pascal Vizeli 2017-06-14 16:51:16 +02:00
parent 7b2b834242
commit 878212aab5
10 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,8 @@
FROM arm64v8/alpine:3.6
COPY qemu-aarch64-static /usr/bin/qemu-aarch64-static
COPY entry.sh /usr/bin/entry.sh
RUN apk add --no-cache bash tzdata udev ca-certificates
ENTRYPOINT ["/usr/bin/entry.sh"]

13
base_image/aarch64/entry.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
udevd &
udevadm trigger &> /dev/null
if CMD="$(which "$1")"; then
shift
exec "$CMD" "$@"
else
echo "Command not found: $1"
exit 1
fi

Binary file not shown.

View file

@ -0,0 +1,7 @@
FROM alpine:3.6
COPY entry.sh /usr/bin/entry.sh
RUN apk add --no-cache bash tzdata udev ca-certificates
ENTRYPOINT ["/usr/bin/entry.sh"]

13
base_image/amd64/entry.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
udevd &
udevadm trigger &> /dev/null
if CMD="$(which "$1")"; then
shift
exec "$CMD" "$@"
else
echo "Command not found: $1"
exit 1
fi

View file

@ -0,0 +1,8 @@
FROM arm32v6/alpine:3.6
COPY qemu-arm-static /usr/bin/qemu-arm-static
COPY entry.sh /usr/bin/entry.sh
RUN apk add --no-cache bash tzdata udev ca-certificates
ENTRYPOINT ["/usr/bin/entry.sh"]

13
base_image/armhf/entry.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
udevd &
udevadm trigger &> /dev/null
if CMD="$(which "$1")"; then
shift
exec "$CMD" "$@"
else
echo "Command not found: $1"
exit 1
fi

BIN
base_image/armhf/qemu-arm-static Executable file

Binary file not shown.

View file

@ -0,0 +1,7 @@
FROM i386/alpine:3.6
COPY entry.sh /usr/bin/entry.sh
RUN apk add --no-cache bash tzdata udev ca-certificates
ENTRYPOINT ["/usr/bin/entry.sh"]

13
base_image/i386/entry.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
udevd &
udevadm trigger &> /dev/null
if CMD="$(which "$1")"; then
shift
exec "$CMD" "$@"
else
echo "Command not found: $1"
exit 1
fi