Compare commits

...

38 Commits
1.0 ... master

Author SHA1 Message Date
3n8
30e3ae951e
Update Dockerfile
remove transmission
added irc_Bot qbittorrent-api
2021-01-19 04:24:24 +01:00
Winston Astrachan
881b609623
Bump FlexGet to 3.1.98 2021-01-15 09:35:25 -05:00
Winston Astrachan
3d774d7289
Bump FlexGet to 3.1.91 2020-12-17 15:37:32 -05:00
Winston Astrachan
ac431c636d
Bump FlexGet to 3.1.82 2020-10-26 10:57:21 -04:00
Winston Astrachan
660cae910a
Bump FlexGet to 3.1.71 2020-09-21 10:20:24 -04:00
Winston Astrachan
1f0e3617b7
Bump FlexGet to 3.1.67 2020-08-04 10:19:16 -04:00
Winston Astrachan
2ad0de9c48
Bump FlexGet to 3.1.66 2020-07-05 11:04:07 -04:00
Winston Astrachan
4e7d2c43fe
Bump FlexGet to 3.1.64 2020-06-15 11:18:49 -04:00
Winston Astrachan
18fd72bfaf
Bump FlexGet to 3.1.56 2020-05-21 12:08:11 -04:00
Winston Astrachan
d22bc8635b
Bump FlexGet to 3.1.51 2020-05-03 13:11:37 -04:00
Winston Astrachan
ef6c110add
Bump FlexGet to 3.1.47 2020-04-05 14:21:39 -04:00
Winston Astrachan
2245b2bdbe
Bump FlexGet to 3.1.46 2020-03-28 19:13:11 -04:00
Winston Astrachan
ca50bfb225
Added dependencies for Pillow, bumped version to 3.1.45
PR #2621 (https://github.com/Flexget/Flexget/pull/2621) added a dependency on Pillow.
Pillow has several libraries it requires that needed to be added to the Dockerfile
2020-03-25 12:10:27 -04:00
Winston Astrachan
9f466ef7a5
Bump FlexGet to 3.1.43 2020-03-23 10:23:08 -04:00
Winston Astrachan
59bf7cc469 Bump FlexGet to 3.1.39 2020-03-19 10:11:46 -04:00
Winston Astrachan
12acdb3dec Bump FlexGet to 3.1.37 2020-03-17 16:38:19 -04:00
Winston Astrachan
96e202f78c Bump FlexGet to 3.1.29 2020-02-27 13:22:25 -05:00
Winston Astrachan
07d80615d7 Bump FlexGet to 3.1.28 2020-02-22 11:04:05 -05:00
Winston Astrachan
f42ab0b3c8 Maint: Added script for incrementing FlexGet version 2020-02-18 12:10:25 -05:00
Winston Astrachan
b37a2cce2c Tag image versions to mirror FlexGet releases
Bump FlexGet to 3.1.26
2020-02-18 11:22:20 -05:00
Winston Astrachan
d7660b08b0 Bump FlexGet to 3.0.12 2019-12-06 16:21:15 -05:00
Winston Astrachan
770d3dde82 Bugfix: Pin python to 3.7, FlexGet does not support 3.8 2019-10-27 20:16:19 -04:00
Winston Astrachan
42864ee87c Bump FlexGet to 2.21.32 2019-10-27 20:09:34 -04:00
Winston Astrachan
715703ef00 Bump FlexGet to 2.21.24 2019-10-09 09:28:39 -04:00
Winston Astrachan
31feda5ee7 Merge branch 'master' of github.com:wastrachan/docker-flexget
* 'master' of github.com:wastrachan/docker-flexget:
  Bump FlexGet to 2.21.22
  Bump FlexGet to 2.21.14
  Bump FlexGet to 2.20.27
  Bump FlexGet to 2.20.25
  Bump FlexGet to 2.20.17
2019-10-09 09:27:49 -04:00
Winston Astrachan
088966dee9 Remove microbadger, badge remains broken 2019-10-09 09:27:27 -04:00
Winston Astrachan
d29349428c Bump FlexGet to 2.21.22 2019-09-30 14:13:42 -04:00
Winston Astrachan
3140a3c326
Bump FlexGet to 2.21.14 2019-07-23 11:16:00 -04:00
Winston Astrachan
d88db6d1bb
Bump FlexGet to 2.20.27 2019-05-11 12:35:54 -04:00
Winston Astrachan
6f6888d543
Bump FlexGet to 2.20.25 2019-05-05 19:38:27 -04:00
Winston Astrachan
016414efac
Bump FlexGet to 2.20.17 2019-03-28 23:05:54 -04:00
Winston Astrachan
25e039e73a Bump FlexGet to 2.20.15 2019-03-26 12:39:21 -04:00
Winston Astrachan
d86f519584 Merge branch 'master' of github.com:wastrachan/docker-flexget
* 'master' of github.com:wastrachan/docker-flexget:
  Bump FlexGet to 2.20.13
2019-03-26 12:38:27 -04:00
Winston Astrachan
9d8018d48c Reduce circleci nightly build frequency 2019-03-26 12:38:21 -04:00
Winston Astrachan
769e22d77e Bump FlexGet to 2.20.13 2019-03-17 21:19:57 -04:00
Winston Astrachan
f1e62e037c Add CircleCI Badge 2019-03-16 23:41:55 -04:00
Winston Astrachan
fcd861cb33 Add CircleCI Config 2019-03-16 23:26:51 -04:00
Winston Astrachan
0f42e6ed85 Update badges 2019-03-16 21:28:21 -04:00
6 changed files with 88 additions and 21 deletions

39
.circleci/config.yml Normal file
View File

@ -0,0 +1,39 @@
version: 2
jobs:
build:
environment:
REPO_NAME: "wastrachan"
IMAGE_NAME: "flexget"
IMAGE_VERSION: "3.1.98"
docker:
- image: docker:latest
steps:
- checkout
- setup_remote_docker
- run:
name: Install deps
command: |
apk --no-cache add curl
- run:
name: Build image
command: |
docker build --build-arg FLEXGET_VERSION=$IMAGE_VERSION -t $IMAGE_NAME .
docker tag $IMAGE_NAME $REPO_NAME/$IMAGE_NAME:$IMAGE_VERSION
docker tag $IMAGE_NAME $REPO_NAME/$IMAGE_NAME:latest
- deploy:
name: Publish image
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $REPO_NAME/$IMAGE_NAME:$IMAGE_VERSION
docker push $REPO_NAME/$IMAGE_NAME:latest
fi
workflows:
version: 2
commit:
jobs:
- build:
filters:
branches:
only: master

View File

@ -1,33 +1,45 @@
FROM python:3-alpine FROM python:3.7-alpine
LABEL maintainer="Winston Astrachan" LABEL maintainer="Winston Astrachan"
LABEL description="FlexGet on Alpine Linux" LABEL description="FlexGet on Alpine Linux"
ARG FLEXGET_VERSION="2.20.12" ARG FLEXGET_VERSION="3.1.45"
RUN addgroup -g 101 -S flexget && \ ENV DEPS \
adduser -u 100 -S -G flexget flexget libjpeg \
zlib
ENV DEPS_BUILD \
gcc \
libgcc \
jpeg-dev \
musl-dev \
zlib-dev
RUN mkdir /config && \ RUN \
mkdir /download addgroup -g 101 -S flexget && \
adduser -u 100 -S -G flexget flexget && \
\
mkdir /config && \
\
apk add --no-cache $DEPS $DEPS_BUILD && \
pip install -U setuptools pip packaging
VOLUME /config VOLUME /config
VOLUME /download ADD https://github.com/Flexget/Flexget/tarball/v${FLEXGET_VERSION} flexget.tar.gz
COPY overlay/ /
ADD https://github.com/Flexget/Flexget/tarball/${FLEXGET_VERSION} flexget.tar.gz
RUN \ RUN \
# Extract and install FlexGet
mkdir flexget && \ mkdir flexget && \
tar --strip-components=1 -xzvf flexget.tar.gz -C flexget && \ tar --strip-components=1 -xzvf flexget.tar.gz -C flexget && \
cd flexget && \ cd flexget && \
python3 setup.py install && \ python3 setup.py install && \
\ \
# Install python dependencies
pip install deluge-client && \ pip install deluge-client && \
pip install transmissionrpc && \ pip install irc_bot && \
pip install qbittorrent-api && \
\ \
# Clean up build files, deps rm -rf /flexget /flexget.tar.gz && \
rm -rf /flexget /flexget.tar.gz apk del $DEPS_BUILD
COPY overlay/ /
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["su", "-p", "-s", "/bin/sh", "flexget", "-c", "/usr/local/bin/flexget -c /config/config.yml --loglevel verbose daemon start --autoreload-config"] CMD ["su", "-p", "-s", "/bin/sh", "flexget", "-c", "/usr/local/bin/flexget -c /config/config.yml --loglevel verbose daemon start --autoreload-config"]

View File

@ -1,4 +1,4 @@
Copyright (c) 2019 Winston Astrachan Copyright (c) 2020 Winston Astrachan
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@ -1,7 +1,6 @@
# Docker FlexGet Image # Docker FlexGet Image
# # Copyright (c) Winston Astrachan 2020
# Winston Astrachan 2019
#
help: help:
@echo "" @echo ""
@echo "Usage: make COMMAND" @echo "Usage: make COMMAND"

View File

@ -3,9 +3,8 @@ FlexGet Docker Image
FlexGet in a Docker container, with configuration in a volume, and a configurable UID/GID for said files. FlexGet in a Docker container, with configuration in a volume, and a configurable UID/GID for said files.
[![](https://img.shields.io/github/tag/wastrachan/docker-flexget.svg)](https://github.com/wastrachan/docker-flexget/releases) [![](https://circleci.com/gh/wastrachan/docker-flexget.svg?style=svg)](https://circleci.com/gh/wastrachan/docker-flexget)
[![](https://images.microbadger.com/badges/image/wastrachan/docker-flexget.svg)](https://microbadger.com/images/wastrachan/docker-flexget) [![](https://img.shields.io/docker/pulls/wastrachan/flexget.svg)](https://hub.docker.com/r/wastrachan/flexget)
[![](https://img.shields.io/docker/pulls/wastrachan/docker-flexget.svg)](https://hub.docker.com/r/wastrachan/docker-flexget)
## Install ## Install

18
scripts/update_version.sh Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
CIRCLECI_CONFIG=".circleci/config.yml"
# Read current version from CircleCI config
current_version=`sed -rn 's/^\s*IMAGE_VERSION: \"([0-9\.]*)\"$/\1/p' $CIRCLECI_CONFIG`
# Prompt user for new version
echo "The current configured version of FlexGet: $current_version"
echo "Enter new version:"
read new_version
# Replace version in CircleCI config
sed -i -r "s/(^\s*IMAGE_VERSION: \")([0-9\.]*)\"$/\1$new_version\"/g" $CIRCLECI_CONFIG
# Commit version update
git add $CIRCLECI_CONFIG
git commit -m "Bump FlexGet to $new_version"