Skip to content

Commit

Permalink
Remove apt cache to reduces image size
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Nov 20, 2023
1 parent c6c5f0e commit d7a197a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/changes/changes_0.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Version: 0.1.0
* #41: Refactored the Transformer Extension notebook - made it use the Secret Store
* #53: Moved Jupyter notebooks to folder visible to ansible
* #16: Installed Jupyter notebooks via ansible
* #67: Removed apt cache to reduces image size

## Bug Fixes

Expand Down
7 changes: 7 additions & 0 deletions exasol/ds/sandbox/runtime/ansible/cleanup_tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- name: Ansible Clean
ansible.builtin.apt:
clean: yes
- name: Remove files in /var/lib/apt/lists/
ansible.builtin.file:
path: /var/lib/apt/lists/
state: absent
1 change: 1 addition & 0 deletions exasol/ds/sandbox/runtime/ansible/dss_docker_playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
docker_integration_test: true
tasks:
- import_tasks: general_setup_tasks.yml
- import_tasks: cleanup_tasks.yml
5 changes: 3 additions & 2 deletions exasol/ds/sandbox/runtime/ansible/slc_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
need_sudo: yes
remote_user: ubuntu
tasks:
- import_tasks: general_setup_tasks.yml
- import_tasks: ec2_setup_tasks.yml
- import_tasks: general_setup_tasks.yml
- import_tasks: ec2_setup_tasks.yml
- import_tasks: cleanup_tasks.yml

0 comments on commit d7a197a

Please sign in to comment.