Initial commit
This commit is contained in:
27
Dockerfile
Normal file
27
Dockerfile
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
# https://hub.docker.com/_/alpine/tags
|
||||
FROM alpine:3.22.2
|
||||
|
||||
# https://pkgs.alpinelinux.org/packages?name=samba&branch=v3.22&repo=&arch=x86_64&origin=&flagged=&maintainer=
|
||||
ENV sambaV="samba=~4.21.4-r4"
|
||||
|
||||
LABEL org.opencontainers.image.authors="rardcode <sak37564@ik.me>"
|
||||
LABEL Description="Chrony server based on Alpine."
|
||||
|
||||
ENV APP_NAME="sambafs"
|
||||
|
||||
RUN set -xe && \
|
||||
: "---------- ESSENTIAL packages INSTALLATION ----------" && \
|
||||
apk update --no-cache && \
|
||||
apk upgrade --available && \
|
||||
apk add bash
|
||||
|
||||
RUN set -xe && \
|
||||
: "---------- SPECIFIC packages INSTALLATION ----------" && \
|
||||
apk update --no-cache && \
|
||||
apk add --upgrade samba-common-tools && \
|
||||
apk add --upgrade ${sambaV}
|
||||
|
||||
ADD rootfs /
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user