Skip to content

Commit

Permalink
fixup: build docker alpine 316
Browse files Browse the repository at this point in the history
  • Loading branch information
morrieinmaas committed Jul 1, 2024
1 parent 1b0c770 commit b83673b
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.12
LABEL Maintainer="Michael Stella <michael@jwplayer.com>"
FROM alpine:3.16
LABEL Maintainer="Team DevOps <devops@jwplayer.com>"

ARG PIP_EXTRA_INDEX_URL
ENV PYTHON_EGG_CACHE=/tmp \
Expand All @@ -19,8 +19,11 @@ RUN apk add --no-cache \
ca-certificates \
libssl1.1 \
python3 \
gcc \
musl-dev \
py3-multidict \
py3-pip \
python3-dev \
py3-setuptools \
py3-yarl \
tini \
Expand All @@ -36,7 +39,7 @@ RUN cp /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ >/etc/timezone && apk
COPY rssalertbot /app/rssalertbot
COPY CHANGELOG.rst MANIFEST.in setup.py /app/
WORKDIR /app
RUN pip install -U pip
RUN pip install setuptools==57.5.0
RUN pip install -e '.[dynamo,slack]'

# don't run as root
Expand Down
56 changes: 56 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
storage:
file:
path: /tmp
locking:
file:
path: /tmp

loglevel: DEBUG
outputs:
log:
enabled: False
email:
enabled: False
server: localhost
from: [email protected]
to: System Alerts <[email protected]>
slack:
enabled: True
channel: "#rsstest"
token: "your-token-here"

feedgroups:
- name: DataDog
feeds:
- name: DataDog
url: http://status.datadoghq.com/history.rss

- name: Atlassian
outputs:
- slack:
match_body: True
feeds:
- name: Atlassian
url: http://status.atlassian.com/history.rss

- name: AWS
feeds:
- name: s3
url: http://status.aws.amazon.com/rss/s3-us-standard.rss
- name: ec2-us-east-1
url: http://status.aws.amazon.com/rss/ec2-us-east-1.rss
- name: ec2-us-west-2
url: http://status.aws.amazon.com/rss/ec2-us-west-2.rss
- name: rds-us-east-1
url: http://status.aws.amazon.com/rss/rds-us-east-1.rss

- name: Salesforce
outputs:
- slack:
channel: "#sales"
feeds:
- name: Salesforce NA14
url: http://status.salesforce.com/rest/rss/NA14"
- name: Salesforce NA8
url: http://status.salesforce.com/rest/rss/NA8"

0 comments on commit b83673b

Please sign in to comment.