Skip to content
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

Some workloads' dockerfiles hardcode ubuntu release code name #454

Open
rayx opened this issue Jul 22, 2024 · 0 comments
Open

Some workloads' dockerfiles hardcode ubuntu release code name #454

rayx opened this issue Jul 22, 2024 · 0 comments

Comments

@rayx
Copy link
Contributor

rayx commented Jul 22, 2024

Take Dockerfile-ubuntu_cb_ycsb as an example, it hardcodes jammy. So the workload only works for ubuntu 22.04.

# mongo-install-pm
RUN wget -nc https://www.mongodb.org/static/pgp/server-6.0.asc; cat server-6.0.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/mongodb.gpg >/dev/null; sudo sh -c 'echo "deb [ arch=amd64,arm64 signed-by=/etc/apt/keyrings/mongodb.gpg] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" >> /etc/apt/sources.list.d/mongo.list'; sudo apt update; sudo apt install -y mongodb-org
RUN sed -i "s/.*bind_ip.*/bind_ip=0.0.0.0/" /etc/mongod.conf
# service_stop_disable mongodb
# mongo-install-pm

PS: On the other hand, issue #451 prevents ycsb workload from being run on ubuntu 22.04. So I think ycsb workload can't run on any ubuntu release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant