diff --git a/linux/base.Dockerfile b/linux/base.Dockerfile index b4dba60..899be4c 100644 --- a/linux/base.Dockerfile +++ b/linux/base.Dockerfile @@ -146,6 +146,16 @@ RUN TF_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform && rm -f terraform.zip terraform.sha256 \ && unset TF_VERSION + # Install azure-functions-core-tools + RUN wget -nv -O Azure.Functions.Cli.zip `curl -fSsL https://api.github.com/repos/Azure/azure-functions-core-tools/releases/latest | grep "url.*linux-x64" | grep -v "sha2" | cut -d '"' -f4` \ + && unzip -d azure-functions-cli Azure.Functions.Cli.zip \ + && chmod +x azure-functions-cli/func \ + && chmod +x azure-functions-cli/gozip \ + && mv -v azure-functions-cli /opt \ + && ln -sf /opt/azure-functions-cli/func /usr/bin/func \ + && ln -sf /opt/azure-functions-cli/gozip /usr/bin/gozip \ + && rm -r Azure.Functions.Cli.zip + # Setup locale to en_US.utf8 RUN echo 'LANG=en_US.UTF-8' >> /etc/locale.conf && locale-gen.sh ENV LANG="en_US.utf8" diff --git a/tests/command_list b/tests/command_list index 460ee48..fec491d 100644 --- a/tests/command_list +++ b/tests/command_list @@ -394,6 +394,7 @@ fsck.ext4 fsck.minix fsfreeze fstrim +func function funzip fuse-overlayfs @@ -467,6 +468,7 @@ gnutls-cli-debug gnutls-serv go gofmt +gozip gp-archive gpasswd gp-collect-app