-
Notifications
You must be signed in to change notification settings - Fork 5
build: Standardize asset containers to use official Ubuntu base images. #3
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
6e27486
0d480b7
2de68a1
a0a0175
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,11 +2,11 @@ | |||||||||||||||||||||||
# dependencies | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
# If there is any dedicated image available, you should build the benchmarking image on top of that | ||||||||||||||||||||||||
FROM ghcr.io/y-scope/clp/clp-core-dependencies-x86-ubuntu-jammy:main | ||||||||||||||||||||||||
FROM ubuntu:jammy | ||||||||||||||||||||||||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
# Install necessary packages | ||||||||||||||||||||||||
RUN apt-get update \ | ||||||||||||||||||||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||||||||||||||||||||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-downgrades \ | ||||||||||||||||||||||||
tmux \ | ||||||||||||||||||||||||
vim \ | ||||||||||||||||||||||||
gzip | ||||||||||||||||||||||||
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-downgrades \ | |
tmux \ | |
vim \ | |
gzip | |
RUN set -eux; \ | |
apt-get update; \ | |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
gzip \ | |
vim-tiny \ | |
tmux; \ | |
rm -rf /var/lib/apt/lists/* |
🧰 Tools
🪛 Checkov (3.2.334)
[LOW] 1-12: Ensure that HEALTHCHECK instructions have been added to container images
(CKV_DOCKER_2)
[LOW] 1-12: Ensure that a user for the container has been created
(CKV_DOCKER_3)
🤖 Prompt for AI Agents
In assets/gzip/Dockerfile around lines 9 to 12, remove the --allow-downgrades
flag unless there is a documented reason for downgrading packages. Add the
--no-install-recommends flag to the apt-get install command to avoid installing
unnecessary packages. After installation, add a command to clean up the apt
cache by removing /var/lib/apt/lists/* to reduce image size. Optionally, pin
package versions explicitly for reproducibility by specifying versions for gzip,
tmux, and vim packages.
Uh oh!
There was an error while loading. Please reload this page.