Skip to content

Added core tool back to cloud shell #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions linux/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions tests/command_list
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ fsck.ext4
fsck.minix
fsfreeze
fstrim
func
function
funzip
fuse-overlayfs
Expand Down Expand Up @@ -467,6 +468,7 @@ gnutls-cli-debug
gnutls-serv
go
gofmt
gozip
gp-archive
gpasswd
gp-collect-app
Expand Down
Loading