latest versions

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2016-12-27 16:10:07 -08:00
parent 0d67094227
commit 4f8782ed19
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
7 changed files with 38 additions and 15 deletions

View File

@ -9,7 +9,7 @@ RUN apk --no-cache add \
ca-certificates \ ca-certificates \
curl curl
ENV CONSUL_VERSION v0.7.1 ENV CONSUL_VERSION v0.7.2
RUN buildDeps=' \ RUN buildDeps=' \
bash \ bash \

View File

@ -9,21 +9,37 @@
# --name couchpotato \ # --name couchpotato \
# jess/couchpotato # jess/couchpotato
# #
FROM debian:sid FROM alpine:latest
MAINTAINER Jessie Frazelle <jess@linux.com> MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \ RUN apk add --no-cache \
ca-certificates \ ca-certificates \
gcc \
git \ git \
libffi-dev \
libxml2-dev \
libxslt-dev \
musl-dev \
openssl-dev \
python \ python \
python-lxml \ python-dev \
python-openssl \ py-pip \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN pip install \
lxml \
pyopenssl
EXPOSE 5050 EXPOSE 5050
RUN git clone https://github.com/RuudBurger/CouchPotatoServer.git /usr/src/couchpotato ENV COUCHPOTATO_VERSION 3.0.1
RUN git clone https://github.com/RuudBurger/CouchPotatoServer.git /usr/src/couchpotato \
&& ( \
cd /usr/src/couchpotato \
&& git checkout "build/${COUCHPOTATO_VERSION}" \
)
WORKDIR /usr/src/couchpotato WORKDIR /usr/src/couchpotato

View File

@ -13,7 +13,7 @@ RUN apk add --no-cache \
nghttp2 \ nghttp2 \
openssl openssl
ENV CURL_VERSION 7.51.0 ENV CURL_VERSION 7.52.1
RUN set -x \ RUN set -x \
&& apk add --no-cache --virtual .build-deps \ && apk add --no-cache --virtual .build-deps \

View File

@ -26,6 +26,11 @@ get_latest() {
fi fi
local dir=${repo#*/} local dir=${repo#*/}
if [[ "$dir" == "CouchPotatoServer" ]]; then
dir=couchpotato
fi
local current=$(cat "${dir}/Dockerfile" | grep -m 1 VERSION | awk '{print $(NF)}') local current=$(cat "${dir}/Dockerfile" | grep -m 1 VERSION | awk '{print $(NF)}')
if [[ "$tag" =~ "$current" ]] || [[ "$name" =~ "$current" ]]; then if [[ "$tag" =~ "$current" ]] || [[ "$name" =~ "$current" ]]; then
@ -39,6 +44,7 @@ projects=(
apache/zookeeper apache/zookeeper
atom/atom atom/atom
camlistore/camlistore camlistore/camlistore
CouchPotato/CouchPotatoServer
curl/curl curl/curl
hashicorp/consul hashicorp/consul
hashicorp/vault hashicorp/vault

View File

@ -9,16 +9,17 @@
# --name sickbeard \ # --name sickbeard \
# jess/sickbeard # jess/sickbeard
# #
FROM debian:sid FROM alpine:latest
MAINTAINER Jessie Frazelle <jess@linux.com> MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \ RUN apk add --no-cache \
--repository https://dl-3.alpinelinux.org/alpine/edge/testing \
ca-certificates \ ca-certificates \
git \ git \
python-cheetah \ python \
python-setuptools \ py-cheetah \
&& rm -rf /var/lib/apt/lists/* py-setuptools
ENV SICKBEARD_VERSION torrent_1080_subtitles ENV SICKBEARD_VERSION torrent_1080_subtitles

View File

@ -8,7 +8,7 @@ RUN apk --no-cache add \
ca-certificates \ ca-certificates \
curl curl
ENV VAULT_VERSION v0.6.3 ENV VAULT_VERSION v0.6.4
RUN buildDeps=' \ RUN buildDeps=' \
bash \ bash \

View File

@ -50,8 +50,8 @@ ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \ RUN useradd --create-home --home-dir $HOME user \
&& chown -R user:user $HOME && chown -R user:user $HOME
ENV CODE_VERSION 1.8.0-1481651903 ENV CODE_VERSION 1.8.1-1482158209
ENV CODE_COMMIT 38746938a4ab94f2f57d9e1309c51fd6fb37553d ENV CODE_COMMIT ee428b0eead68bf0fb99ab5fdc4439be227b6281
# download the source # download the source
RUN buildDeps=' \ RUN buildDeps=' \