Add new base images
This commit is contained in:
parent
7b2b834242
commit
878212aab5
10 changed files with 82 additions and 0 deletions
8
base_image/aarch64/Dockerfile
Normal file
8
base_image/aarch64/Dockerfile
Normal 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
13
base_image/aarch64/entry.sh
Executable 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/aarch64/qemu-aarch64-static
Executable file
BIN
base_image/aarch64/qemu-aarch64-static
Executable file
Binary file not shown.
7
base_image/amd64/Dockerfile
Normal file
7
base_image/amd64/Dockerfile
Normal 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
13
base_image/amd64/entry.sh
Executable 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
|
8
base_image/armhf/Dockerfile
Normal file
8
base_image/armhf/Dockerfile
Normal 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
13
base_image/armhf/entry.sh
Executable 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
BIN
base_image/armhf/qemu-arm-static
Executable file
Binary file not shown.
7
base_image/i386/Dockerfile
Normal file
7
base_image/i386/Dockerfile
Normal 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
13
base_image/i386/entry.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue