Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
# Licensed under the Apache License, Version 2.0
# Pull dependency images
from clean
using wget,python:3.4.1
#Prepare Python for version grabbing
cmd pip install requests --quiet
# Fetch version
echo import sys >
echo import requests >>
echo import re >>
echo host = '' >>
echo headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0'} >>
echo r = requests.get(host , headers=headers, timeout=10) >>
echo print(re.findall('Release: AWS Command Line Interface (\d*\.\d*\.\d*)', r.text )[0]) >>
cmd python
var tag = last
meta tag=tag
# Setup meta
meta title="AWS Command Line Interface"
meta namespace="amazon-web-services"
meta name="cli"
# Set working directory
cmd mkdir C:\Workspace
workdir C:\Workspace
# Download
cmd wget --no-check-certificate -O aws-cli.msi
# Install
cmd aws-cli.msi /quiet
workdir C:\
cmd mkdir C:\aws-info
cmd wget --no-check-certificate
cmd copy aws-info.bat C:\aws-info\aws-info.bat
# Cleanup
cmd rmdir /s /q c:\Workspace
cmd rmdir /s /q c:\wget
cmd rmdir /s /q c:\Python34
startup file ("cmd", "/k C:\aws-info\aws-info.bat")