-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove alpine base image, add alpine-toolbox
- Loading branch information
Showing
8 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Alpine Linux Toolbox | ||
|
||
[Alpine Linux](https://alpinelinux.org) Toolbox image. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
app: alpine | ||
app: alpine-toolbox | ||
semver: true | ||
channels: | ||
- name: stable | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
FROM ghcr.io/prehor/alpine:3.20@sha256:3f10abffcc9280fe75c2598bf6260f7c7ce86e9cc25756fa8dabe0da8e3a954b | ||
FROM docker.io/library/alpine:3.20@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0 | ||
|
||
ARG TARGETPLATFORM | ||
ARG VERSION | ||
ARG CHANNEL | ||
|
||
ENV CHARSET="UTF-8" \ | ||
LANG="en_US.UTF-8" \ | ||
TZ="Etc/UTC" | ||
|
||
RUN \ | ||
mkdir /config \ | ||
&& \ | ||
adduser app -D -u 568 -g 568 -h /config \ | ||
&& \ | ||
chown 568:568 /config \ | ||
&& \ | ||
apk add --no-cache \ | ||
bash \ | ||
ca-certificates \ | ||
catatonit \ | ||
curl | ||
|
||
COPY ./apps/emqx-init/entrypoint.sh /entrypoint.sh | ||
|
||
USER nobody | ||
USER app | ||
|
||
ENTRYPOINT ["/usr/bin/catatonit", "--"] | ||
CMD ["/entrypoint.sh"] | ||
|
||
LABEL org.opencontainers.image.source="https://www.emqx.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,32 @@ | ||
FROM ghcr.io/prehor/alpine:3.20@sha256:3f10abffcc9280fe75c2598bf6260f7c7ce86e9cc25756fa8dabe0da8e3a954b | ||
FROM docker.io/library/alpine:3.20@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0 | ||
|
||
ARG TARGETPLATFORM | ||
ARG VERSION | ||
ARG CHANNEL | ||
|
||
ENV CHARSET="UTF-8" \ | ||
LANG="en_US.UTF-8" \ | ||
TZ="Etc/UTC" | ||
|
||
RUN \ | ||
mkdir /config \ | ||
&& \ | ||
adduser app -D -u 568 -g 568 -h /config \ | ||
&& \ | ||
chown 568:568 /config \ | ||
&& \ | ||
apk add --no-cache \ | ||
bash \ | ||
ca-certificates \ | ||
catatonit \ | ||
curl \ | ||
\ | ||
hwdata-usb \ | ||
linux-tools-usbip~"${VERSION}" | ||
|
||
COPY ./apps/usbip/entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT ["/usr/bin/catatonit", "--"] | ||
CMD ["/entrypoint.sh"] | ||
|
||
LABEL org.opencontainers.image.source="https://github.com/torvalds/linux/blob/master/tools/usb/usbip/README" |