Try using my own docker image
This commit is contained in:
parent
c57070ee82
commit
30da2ab862
3 changed files with 20 additions and 20 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
9
tests/ci/image/Dockerfile
Normal file
9
tests/ci/image/Dockerfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue