Files
grafana-zabbix/devenv/zas-agent/Dockerfile
renovate-sh-app[bot] 0316e42c8b chore(deps): pin dependencies (#2173)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@testing-library/dom](https://redirect.github.com/testing-library/dom-testing-library)
| devDependencies | pin | [`^10.4.1` →
`10.4.1`](https://renovatebot.com/diffs/npm/@testing-library%2fdom/10.4.1/10.4.1)
|
| alpine |  | pinDigest |  → `865b95f` |
| grafana/grafana-enterprise | final | pinDigest |  → `703b4a3` |
| postgres |  | pinDigest |  → `056b54f` |
| postgres |  | pinDigest |  → `a7711af` |
| postgres |  | pinDigest |  → `5fd97d3` |
| python | final | pinDigest |  → `cfa6231` |
| python | final | pinDigest |  → `0c5171f` |
| python | final | pinDigest |  → `411fa4d` |
| python | final | pinDigest |  → `6d58c1a` |
| redis |  | pinDigest |  → `6cbef35` |
| zabbix/zabbix-agent |  | pinDigest |  → `2a5989f` |
| zabbix/zabbix-agent |  | pinDigest |  → `0bb96e2` |
| zabbix/zabbix-agent |  | pinDigest |  → `71f1f22` |
| zabbix/zabbix-agent |  | pinDigest |  → `9eab77e` |
| zabbix/zabbix-agent |  | pinDigest |  → `c34ca68` |
| zabbix/zabbix-proxy-sqlite3 |  | pinDigest |  → `a963b30` |
| zabbix/zabbix-server-pgsql |  | pinDigest |  → `a6f748d` |
| zabbix/zabbix-server-pgsql |  | pinDigest |  → `5c1aece` |
| zabbix/zabbix-server-pgsql |  | pinDigest |  → `b3c1451` |
| zabbix/zabbix-server-pgsql |  | pinDigest |  → `dbc5a2a` |
| zabbix/zabbix-server-pgsql |  | pinDigest |  → `b88c636` |
| zabbix/zabbix-web-apache-pgsql |  | pinDigest |  → `9b5ad53` |
| zabbix/zabbix-web-apache-pgsql |  | pinDigest |  → `70a301e` |
| zabbix/zabbix-web-nginx-pgsql |  | pinDigest |  → `08b2b13` |
| zabbix/zabbix-web-nginx-pgsql |  | pinDigest |  → `e034dd9` |
| zabbix/zabbix-web-nginx-pgsql |  | pinDigest |  → `90d9d85` |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42NC4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZG9ja2VyIl19-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: Jocelyn Collado-Kuri <jcolladokuri@icloud.com>
2026-01-09 10:47:29 +01:00

43 lines
1.5 KiB
Docker

FROM python:2.7@sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
# ENV ZAS_SOURCE_URL=https://github.com/vulogov/zas_agent/archive/master.zip
# ENV ZAS_ARC_NAME=zas_agent-master
# Use version with fixed redis dependency
ENV ZAS_SOURCE_URL=https://github.com/alexanderzobnin/zas_agent/archive/refs/heads/redis-dependency.zip
ENV ZAS_ARC_NAME=zas_agent-redis-dependency
ENV ZAS_ARC_FILE=${ZAS_ARC_NAME}.zip
ENV ZAS_WORKDIR="/zas-agent"
# Fix repository sources to use archive.debian.org for Debian Buster
RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list
RUN sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list
RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
RUN apt-get update && apt-get install -y ca-certificates
RUN apt-get install -y unzip wget
# Download and extract
WORKDIR ${ZAS_WORKDIR}
RUN wget ${ZAS_SOURCE_URL} -O ${ZAS_ARC_FILE}
RUN unzip ${ZAS_ARC_FILE}
# Install zas_agent
WORKDIR ${ZAS_WORKDIR}/${ZAS_ARC_NAME}/install
RUN python ./check_python_packages.py
WORKDIR ${ZAS_WORKDIR}/${ZAS_ARC_NAME}
RUN python setup.py build
RUN python setup.py install
COPY ./run_zas_agent.sh ${ZAS_WORKDIR}/${ZAS_ARC_NAME}/run_zas_agent.sh
# Make port 10050 available to the world outside this container
EXPOSE 10050
# Set default redis port to connect
ENV REDIS_PORT=6379
ENV REDIS_HOST=redis
# Run zas_agent.py when the container launches
# ENTRYPOINT ["./run_zas_agent.sh"]
CMD ["./run_zas_agent.sh"]