Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
updated build
Browse files Browse the repository at this point in the history
  • Loading branch information
bartr committed Jul 11, 2023
1 parent 7752d4c commit 2d96437
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions local-scripts/base-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,24 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

RUN apt-get update
RUN apt-get -y install --no-install-recommends apt-utils dialog apt-transport-https ca-certificates curl git wget openssl
RUN apt-get -y install --no-install-recommends software-properties-common make build-essential jq bash-completion gettext iputils-ping dnsutils
apt-get update
apt-get -y install --no-install-recommends apt-utils dialog apt-transport-https ca-certificates curl git wget openssl
apt-get -y install --no-install-recommends software-properties-common make build-essential jq bash-completion gettext iputils-ping dnsutils

# install github cli
apt-key adv --keyserver keyserver.ubuntu.com --recv-key 23F3D4EA75716059
apt-add-repository https://cli.github.com/packages

# install fluent bit for debugging
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/debian/buster buster main" >> /etc/apt/sources.list
apt-get update

apt-get -y install --no-install-recommends gh fluent-bit

# install dotnet 3.1, 5, and 6 for tool support
# dotnet 7 is already installed
apt-get -y install --no-install-recommends dotnet-sdk-5.0 dotnet-sdk-6.0 dotnet-sdk-3.1

# this fails the first time
curl https://certs.godaddy.com/repository/gd_bundle-g2.crt
Expand All @@ -22,19 +37,3 @@ mkdir -p /usr/local/share/ca-certificates
curl -Lo /usr/local/share/ca-certificates/gd_bundle-g2.crt https://certs.godaddy.com/repository/gd_bundle-g2.crt
update-ca-certificates

# install github cli
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key 23F3D4EA75716059 && \
apt-add-repository https://cli.github.com/packages && \
apt-get update && \
apt-get -y install --no-install-recommends gh

# install fluent bit for debugging
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/debian/buster buster main" >> /etc/apt/sources.list
apt-get update
apt-get -y install --no-install-recommends fluent-bit

# install dotnet 3.1, 5, and 6 for tool support
# dotnet 7 is already installed
apt-get -y install --no-install-recommends dotnet-sdk-5.0 dotnet-sdk-6.0 dotnet-sdk-3.1

0 comments on commit 2d96437

Please sign in to comment.