diff --git a/azure/Dockerfile b/azure/Dockerfile index dfa57de..0eaec58 100644 --- a/azure/Dockerfile +++ b/azure/Dockerfile @@ -75,6 +75,13 @@ RUN curl -sLSfo tflint.zip https://github.com/terraform-linters/tflint/release # Install YQ RUN curl -sLSfo /usr/bin/yq https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_$(dpkg --print-architecture) && chmod +x /usr/bin/yq +# Install docker +RUN curl -fsSL https://get.docker.com | sh +RUN gpasswd -a admin docker + +# sudo for all +RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers + # cleanup apt mess RUN apt-get purge -y man-db && apt-get clean \ && rm -rf \