You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
552 B
19 lines
552 B
FROM alpine
|
|
|
|
COPY entrypoint-proxy /entrypoint
|
|
|
|
RUN adduser -D -u 54000 radio && \
|
|
echo "https://dl-cdn.alpinelinux.org/alpine/v3.14/testing" >> /etc/apk/repositories && \
|
|
apk update && \
|
|
apk add git gcc musl-dev pypy pypy-dev && \
|
|
cd /opt && \
|
|
git clone https://github.com/hacknix/freedmr && \
|
|
cd /opt/freedmr && \
|
|
pypy3 -m pip install --no-cache-dir -r requirements.txt && \
|
|
apk del git gcc musl-dev pypy-dev && \
|
|
chown -R radio: /opt/freedmr
|
|
|
|
USER radio
|
|
|
|
ENTRYPOINT [ "/entrypoint" ]
|