Skip to content

fix(dockerfile): clean apt cache folders#175

Open
alvarogonzalez-packlink wants to merge 1 commit into
acryldata:mainfrom
alvarogonzalez-packlink:patch-1
Open

fix(dockerfile): clean apt cache folders#175
alvarogonzalez-packlink wants to merge 1 commit into
acryldata:mainfrom
alvarogonzalez-packlink:patch-1

Conversation

@alvarogonzalez-packlink

@alvarogonzalez-packlink alvarogonzalez-packlink commented Mar 25, 2025

Copy link
Copy Markdown

Description

When building a Dockerfile we aren't running bash, so it doesn't do brace expansion, so this kind of things don't work:

rm -rf /var/lib/{apt,dpkg,cache,log}/

I've substituted it by the individual commands except for dpkg, as it would break the use of apt in next executions, and log, that seems to be empty.

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

Successfully merging this pull request may close these issues.

1 participant