mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update how the git repo is checked out for future updates
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
402e2ba9b9
commit
dad97a7bb5
|
@ -2,26 +2,24 @@
|
||||||
#
|
#
|
||||||
# docker run -d \
|
# docker run -d \
|
||||||
# --name=PlexPy \
|
# --name=PlexPy \
|
||||||
# -v <path to plexlogs>:/data/logs \
|
# -v <path to local plexpy data>:/data \
|
||||||
# -p 8181:8181 \
|
# -p 8181:8181 \
|
||||||
# arukaen/plexpy
|
# r.j3ss.co/plexpy
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
MAINTAINER Cris G c@cristhekid.com
|
|
||||||
|
|
||||||
# Install required packages.
|
# Install required packages.
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
git \
|
||||||
python
|
python
|
||||||
|
|
||||||
# Get the source
|
# Get the source
|
||||||
ENV PLEXPY_VERSION v1.4.16
|
ENV PLEXPY_VERSION v1.4.16
|
||||||
RUN set -x \
|
RUN git clone https://github.com/drzoidberg33/plexpy.git /opt/plexpy \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& ( \
|
||||||
git \
|
cd /opt/plexpy \
|
||||||
&& mkdir -p /opt/plexpy \
|
&& git checkout "${PLEXPY_VERSION}" \
|
||||||
&& git clone --depth 1 --branch "${PLEXPY_VERSION}" https://github.com/drzoidberg33/plexpy.git /opt/plexpy/ \
|
)
|
||||||
&& apk del .build-deps
|
|
||||||
|
|
||||||
# Volume for Plexpy data.
|
# Volume for Plexpy data.
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
Loading…
Reference in New Issue
Block a user