Try using my own docker image

This commit is contained in:
Ben Jackson 2019-02-17 21:51:34 +00:00
commit 30da2ab862
3 changed files with 20 additions and 20 deletions

View file

@ -3,23 +3,14 @@
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
pool:
vmImage: 'Ubuntu-16.04'
jobs:
- job: 'linux'
pool:
vimImage: 'ubuntu-16.04'
container: 'puremourning/vimspector:test'
steps:
- script: python3 install_gadget.py
displayName: 'Install gadgets'
container: 'ubuntu:18.04'
steps:
- script: printenv
displayName: 'Print environment'
- script: whoami
displayName: 'Print user'
- script: apt-get install python3-dev vim
displayName: 'Install vim'
- script: python3 install_gadget.py
displayName: 'Install gadgets'
- script: ./run_tests
displayName: 'Run the tests'
- script: ./run_tests
displayName: 'Run the tests'

View file

@ -157,7 +157,7 @@ def DownloadFileTo( url, destination, file_name = None, checksum = None ):
checksum ) )
else:
print( "Checksum for {}: {}".format( file_path,
) )
GetChecksumSHA254( file_path ) ) )
return file_path

View file

@ -0,0 +1,9 @@
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y dist-upgrade && \
apt-get -y install python3 vim tcl tcl-dev tcllib && apt-get -y autoremove
RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime && \
dpkg-reconfigure --frontend noninteractive tzdata