Remove ubuntu-advantage-tools package to workaround ESM repository availability

This commit is contained in:
Reuben Morais 2019-11-28 16:18:38 +01:00
parent caf039bcf8
commit a4b6431e2f
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ then:
- $let:
dockerfile: { $eval: strip(str(build.dockerfile)) }
in: >
apt-get -qq -y remove --purge ubuntu-advantage-tools &&
${aptEc2Mirrors} &&
apt-get -qq update && apt-get -qq -y install git wget pkg-config apt-transport-https ca-certificates curl software-properties-common &&
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - &&

View File

@ -47,6 +47,7 @@ then:
extraSystemSetup: { $eval: strip(str(build.system_setup)) }
extraSystemConfig: { $eval: strip(str(build.system_config)) }
in: >
apt-get -qq -y remove --purge ubuntu-advantage-tools &&
${aptEc2Mirrors} &&
apt-get -qq update && apt-get -qq -y install git pixz wget pkg-config libsox-dev && ${extraSystemSetup} &&
adduser --system --home ${system.homedir.linux} ${system.username} &&