Testing for redundant packages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cab531fff3
commit
b0227a6837
14
Dockerfile
14
Dockerfile
@ -36,12 +36,11 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \
|
|||||||
rm -f /tmp/packages-microsoft-prod.deb && \
|
rm -f /tmp/packages-microsoft-prod.deb && \
|
||||||
apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
|
||||||
ansible \
|
ansible \
|
||||||
# build-essential \
|
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
jq \
|
jq \
|
||||||
libxml2-dev \
|
# libxml2-dev \
|
||||||
libffi-dev \
|
# libffi-dev \
|
||||||
locales \
|
locales \
|
||||||
netcat-openbsd \
|
netcat-openbsd \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
@ -49,17 +48,12 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \
|
|||||||
unzip && \
|
unzip && \
|
||||||
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||||
locale-gen && \
|
locale-gen && \
|
||||||
curl https://omnitruck.chef.io/install.sh | bash -s -- -P inspec && \
|
curl https://omnitruck.chef.io/install.sh | bash -s -- -P inspec && \
|
||||||
# gem install inspec && \
|
|
||||||
# gem install inspec-bin && \
|
|
||||||
# apt-get remove -y \
|
|
||||||
# build-essential && \
|
|
||||||
apt-get autoremove -y && \
|
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
|
||||||
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
|
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
|
||||||
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI' -Verbose" && \
|
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI' -Verbose" && \
|
||||||
pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False -Confirm:\$False" && \
|
pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False -Confirm:\$False" && \
|
||||||
sh /tmp/ovftool-installer --console --eulas-agreed --required && \
|
sh /tmp/ovftool-installer --console --eulas-agreed --required && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
rm -f /tmp/ovftool-installer
|
rm -f /tmp/ovftool-installer
|
||||||
|
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
Loading…
Reference in New Issue
Block a user