-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.aarch64
39 lines (33 loc) · 1021 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
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19
# set version label
ARG BUILD_DATE
ARG VERSION
ARG FEED2TOOT_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thespad"
# environment settings
ENV PYTHONIOENCODING=utf-8 \
PYTHONUNBUFFERED=1
RUN \
echo "**** install packages ****" && \
apk add -U --update --no-cache \
python3 && \
echo "**** install feed2toot ****" && \
if [ -z ${FEED2TOOT_VERSION+x} ]; then \
FEED2TOOT_VERSION=$(curl -sL https://pypi.python.org/pypi/feed2toot/json |jq -r '. | .info.version'); \
fi && \
python3 -m venv /lsiopy && \
pip install -U --no-cache-dir \
pip \
wheel && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.19/ \
feed2toot=="${FEED2TOOT_VERSION}" && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \
$HOME/.cache
# add local files
COPY root/ /
# ports and volumes
VOLUME /config