@@ -28,7 +28,6 @@ RUN bash ./tdnfinstall.sh \
28
28
nodejs
29
29
30
30
ENV NPM_CONFIG_LOGLEVEL warn
31
- ENV NODE_VERSION 16.17.1
32
31
ENV NODE_ENV production
33
32
ENV NODE_OPTIONS=--tls-cipher-list='ECDHE-RSA-AES128-GCM-SHA256:!RC4'
34
33
@@ -50,8 +49,8 @@ RUN bash ./tdnfinstall.sh \
50
49
curl \
51
50
bind-utils \
52
51
dos2unix \
53
- dotnet-runtime-6 .0 \
54
- dotnet-sdk-6 .0 \
52
+ dotnet-runtime-7 .0 \
53
+ dotnet-sdk-7 .0 \
55
54
e2fsprogs \
56
55
emacs \
57
56
gawk \
@@ -138,14 +137,14 @@ RUN bash ./tdnfinstall.sh \
138
137
redis
139
138
140
139
# Install azure-functions-core-tools
141
- RUN wget -nv -O Azure.Functions.Cli.linux-x64.4.0.3971. zip https://github.com/Azure/azure-functions-core-tools/releases/download/4.0.3971/Azure.Functions.Cli. linux-x64.4.0.3971.zip \
142
- && unzip -d azure-functions-cli Azure.Functions.Cli.linux-x64.4.0.3971. zip \
140
+ 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` \
141
+ && unzip -d azure-functions-cli Azure.Functions.Cli.zip \
143
142
&& chmod +x azure-functions-cli/func \
144
143
&& chmod +x azure-functions-cli/gozip \
145
- && mv azure-functions-cli /opt \
144
+ && mv -v azure-functions-cli /opt \
146
145
&& ln -sf /opt/azure-functions-cli/func /usr/bin/func \
147
146
&& ln -sf /opt/azure-functions-cli/gozip /usr/bin/gozip \
148
- && rm -r Azure.Functions.Cli.linux-x64.4.0.3971. zip
147
+ && rm -r Azure.Functions.Cli.zip
149
148
150
149
151
150
# Setup locale to en_US.utf8
@@ -208,10 +207,10 @@ ENV GOROOT="/usr/lib/golang"
208
207
ENV PATH="$PATH:$GOROOT/bin:/opt/mssql-tools18/bin"
209
208
210
209
211
- RUN gem install bundler --version 1.16.4 -- force \
212
- && gem install rake --version 12.3.0 -- no-document --force \
213
- && gem install colorize --version 0.8.1 -- no-document --force \
214
- && gem install rspec --version 3.7.0 -- no-document --force
210
+ RUN gem install bundler --force \
211
+ && gem install rake --no-document --force \
212
+ && gem install colorize --no-document --force \
213
+ && gem install rspec --no-document --force
215
214
216
215
ENV GEM_HOME=~/bundle
217
216
ENV BUNDLE_PATH=~/bundle
@@ -222,9 +221,6 @@ ENV POWERSHELL_DISTRIBUTION_CHANNEL CloudShell
222
221
# don't tell users to upgrade, they can't
223
222
ENV POWERSHELL_UPDATECHECK Off
224
223
225
- # Install Azure draft
226
- RUN curl -fsSL https://raw.githubusercontent.com/Azure/draft/main/scripts/install.sh | bash
227
-
228
224
# Install Yeoman Generator and predefined templates
229
225
RUN npm install -g yo \
230
226
&& npm install -g generator-az-terra-module
0 commit comments