-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
superset helm uses dockerize image which is unsupported (last release 7 years ago) and has CVEs #23103
Comments
@tooptoop4 I see https://github.com/jwilder/dockerize has merged PRs into the repo more recently now and its most recent release seems to be in May 2023. Is this still a concern or can this issue be closed? |
Still a concern, we should eventually remove this dependency, I think we just use it to test PG and redis availability on helm |
Does anyone here (cc @mistercrunch) know of any viable alternatives? |
While working on docker-related things I remember thinking "what does this do!?", and it's something about waiting for services to get up before starting other services. Asking GPT there are drop-in replacements like apiVersion: apps/v1
kind: Deployment
metadata:
name: superset
spec:
replicas: 1
template:
metadata:
labels:
app: superset
spec:
initContainers:
- name: wait-for-db
image: busybox
command: ['sh', '-c', 'until nc -z db 5432; do echo waiting for db; sleep 2; done;']
- name: wait-for-redis
image: busybox
command: ['sh', '-c', 'until nc -z redis 6379; do echo waiting for redis; sleep 2; done;']
containers:
- name: superset
image: apache/superset:latest
ports:
- containerPort: 8088 |
@mistercrunch I agree, this would be much cleaner and easier to reason about. Another alternative would be to have a few new scripts (similar to |
🦕 |
https://github.com/apache/superset/releases/download/superset-helm-chart-0.8.6/superset-0.8.6.tgz has references to jwilder/dockerize image/commands
https://github.com/jwilder/dockerize shows no new release for many years
following tools/CVEs are found within the dockerize image:
busybox 1.26.2-r4 has
CVE-2015-9261
CVE-2017-15873
CVE-2017-16544
CVE-2018-1000500
CVE-2018-1000517
CVE-2018-20679
CVE-2019-5747
CVE-2021-42376
CVE-2021-42378
CVE-2021-42379
CVE-2021-42381
CVE-2021-42382
CVE-2021-42384
CVE-2021-42385
CVE-2021-42386
CVE-2022-28391
musl 1.1.16-r9 has
CVE-2017-15650
CVE-2019-14697
CVE-2020-28928
The text was updated successfully, but these errors were encountered: