-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.aarch64
43 lines (37 loc) · 1005 Bytes
/
Dockerfile.aarch64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-edge
# set version label
ARG BUILD_DATE
ARG VERSION
ARG BUILD_AGENT_RELEASE
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thespad"
RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache --upgrade \
btrfs-progs \
docker \
docker-cli-buildx \
docker-cli-compose \
e2fsprogs \
e2fsprogs-extra \
git \
ip6tables \
iptables \
openjdk17-jre \
openssh-client \
openssh-server-pam \
openssh-sftp-server \
xfsprogs \
xz \
yq && \
echo "**** setup openssh environment ****" && \
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config && \
usermod --shell /bin/bash abc && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
rm -rf \
/tmp/*
# add local files
COPY /root /
EXPOSE 2222
VOLUME /config