x86_64-alpine-cp/Dockerfile
Jonathan Ervine 037270af17 modified: Dockerfile
Added openssl to docker image
2020-05-28 16:44:43 +08:00

36 lines
917 B
Docker

# Base on latest (edge) alpine image
FROM harbor.ervine.dev/library/x86_64/alpine/alpine-3.11
LABEL maintainer “Jonathan Ervine” <docker@ervine.org> architecture="x86_64" date="17022020"
# Install updates
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm' \
VERSION='master'
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk update && \
apk -U upgrade && \
apk -U add \
python \
py-lxml \
py-simplejson \
openssl \
py-openssl
RUN wget https://github.com/CouchPotato/CouchPotatoServer/archive/$VERSION.tar.gz -O couchpotato.tar.gz && \
tar zxvf couchpotato.tar.gz && \
mv CouchPotatoServer-$VERSION couchpotato && \
rm -rf couchpotato.tar.gz && \
apk del make gcc g++ && \
rm -rf /tmp/src && \
rm -rf /var/cache/apk/*
COPY start.sh /usr/local/bin/start.sh
EXPOSE 5050
CMD [ "/usr/local/bin/start.sh" ]