InseeFrLab / InseeFrLab/images-datascience

awscli temporary files are not removed

Open Beginner friendly
#397 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
42
Forks
36
Avg merge
1d 5h
Merged PRs (30d)
2

Description

In the onyxia-base docker image, some files are not removed after the installation of awscli: `\home\onyxia\work\awscliv2.zip` and files in the `\home\onyxia\work\aws` folder.

I believe these could be removed, but I am not completely sure whether there is any side effect.

If they are safe to remove, the `install-awscli.sh` could end with a cleanup operation, e.g.:

```
rm -rf aws awscliv2.zip
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating install-awscli.sh used by the onyxia-base Docker image and inspect where awscliv2.zip and the aws folder are created. Build or run the image to confirm the installation still works, then verify that /home/onyxia/work/awscliv2.zip and /home/onyxia/work/aws are absent after installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, shell
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.