Skip to content

Conversation

@itzg
Copy link
Owner

@itzg itzg commented Feb 10, 2022

No description provided.

@itzg itzg mentioned this pull request Feb 10, 2022

distro=$(cat /etc/os-release | grep -E "^ID=" | cut -d= -f2 | sed -e 's/"//g')

"$(dirname "$0")/${distro}/$1".sh No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice folder shim!

}

function getDistro() {
cat /etc/os-release | grep -E "^ID=" | cut -d= -f2 | sed -e 's/"//g'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice I need to learn to cat out as a return in bash. My bash could use some improvement! :)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That particular one apparently came from Github Copilot via a recent PR

fi

docker-compose down -v --remove-orphans
docker-compose down -v --remove-orphans > /dev/null
Copy link
Contributor

@shotah shotah Feb 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the -v if we are just outputting to Null anyways? Not seeing -v referenced, but pretty sure it's short for --verbose. https://docs.docker.com/compose/reference/

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's for removing any names volumes

https://docs.docker.com/compose/reference/down/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh, I think I remember that now. :) Glad you caught it!

@itzg
Copy link
Owner Author

itzg commented Feb 11, 2022

@shotah Thanks for taking a look at the PR BTW

@shotah
Copy link
Contributor

shotah commented Feb 11, 2022

@shotah Thanks for taking a look at the PR BTW

Hey I'm excited for alpine to be reintroduced. This does updated it for Java17 and Latest correct?

@itzg
Copy link
Owner Author

itzg commented Feb 11, 2022

Yep, it became super easy to add back an alpine variant for Java 17. It's also going to make it much easier to add GraalVM, which has a base image on CentOS.

@itzg itzg merged commit 179bb26 into master Feb 12, 2022
@itzg itzg deleted the test/matrix-alpine-too branch February 12, 2022 03:00
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.

3 participants