@@ -155,7 +155,12 @@ RUN chmod 755 /usr/local/bin/ansible* \
155
155
&& /bin/bash -c "source ansible/bin/activate && pip3 list --outdated --format=freeze | cut -d '=' -f1 | xargs -n1 pip3 install -U && pip3 install ansible && pip3 install pywinrm\>\= 0\. 2\. 2 && deactivate" \
156
156
&& rm -rf ~/.local/share/virtualenv/ \
157
157
&& rm -rf ~/.cache/pip/ \
158
- && ansible-galaxy collection install azure.azcollection --force -p /usr/share/ansible/collections
158
+ && ansible-galaxy collection install azure.azcollection --force -p /usr/share/ansible/collections \
159
+ # Temp: Proper fix is to use regular python for Ansible.
160
+ && mkdir -p /usr/share/ansible/collections/ansible_collections/azure/azcollection/ \
161
+ && wget -nv -q -O /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements.txt https://raw.githubusercontent.com/ansible-collections/azure/dev/requirements.txt \
162
+ && /opt/ansible/bin/python -m pip install -r /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements.txt
163
+
159
164
160
165
# Install latest version of Istio
161
166
ENV ISTIO_ROOT /usr/local/istio-latest
@@ -177,3 +182,30 @@ RUN gem install bundler --no-document --clear-sources --force \
177
182
ENV GEM_HOME=~/bundle
178
183
ENV BUNDLE_PATH=~/bundle
179
184
ENV PATH=$PATH:$GEM_HOME/bin:$BUNDLE_PATH/gems/bin
185
+
186
+ # Install vscode
187
+ RUN wget -nv -O vscode.tar.gz "https://code.visualstudio.com/sha/download?build=insider&os=cli-alpine-x64" \
188
+ && tar -xvzf vscode.tar.gz \
189
+ && mv ./code-insiders /bin/vscode \
190
+ && rm vscode.tar.gz
191
+
192
+ # Install azure-developer-cli (azd)
193
+ ENV AZD_IN_CLOUDSHELL=1 \
194
+ AZD_SKIP_UPDATE_CHECK=1
195
+ RUN curl -fsSL https://aka.ms/install-azd.sh | bash && \
196
+ #
197
+ # Install Office 365 CLI templates
198
+ #
199
+ npm install -q -g @pnp/cli-microsoft365 && \
200
+ #
201
+ # Install Bicep CLI
202
+ #
203
+ curl -Lo bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64 \
204
+ && chmod +x ./bicep \
205
+ && mv ./bicep /usr/local/bin/bicep \
206
+ && bicep --help && \
207
+ #
208
+ # Add soft links
209
+ #
210
+ ln -s /usr/bin/python3 /usr/bin/python && \
211
+ ln -s /usr/bin/node /usr/bin/nodejs
0 commit comments