fix[closes #50]: Use apt-get instead of apt and fix go build #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use apt-get instead of apt and fix go build
Closes #50
Related to: 60a7d88#r143184779
Description
apt
is the recommended command for interactive use by administrators, not for use in shell scripts. Furthermore, the current use ofapt
is causing CLI warnings:go build fails due to inconsistent package name
This PR updates the apt core package to use
apt-get *
command variants for all apt commands (install and clean) and fixes the incorrect package name so that the application can be successfully built.Proposed Changes
apt-get install
instead ofapt install
apt-get clean
instead ofapt clean
Local Testing
Using the following
vib.yml
recipe:Generated Containerfile: