Adjust config.yaml to get jdk11 and docker working on codebuild
all: python2.7 {args}
jdk11:
install:
- debian: sudo apt-get install openjdk11
+ debian:
+ script: |-
+ sudo apt-get update && sudo apt-get install java-common
+ sudo curl https://d3pxv6yz143wms.cloudfront.net/11.0.4.11.1/java-11-amazon-corretto-jdk_11.0.4.11-1_amd64.deb > /tmp/corettojdk11.deb
+ sudo dpkg --install /tmp/corettojdk11.deb
+
macos:
skipif: java -version 2>&1|egrep -i '(java|jdk|jre) *(version)?[ "]*(1.8|8|9|1[0-9])\.'
script: |-
install:
skipif: onpath docker
debian: |-
- sudo apt-get install docker.io
- sudo systemctl start docker
- sudo systemctl enable docker
+ curl -sSL https://get.docker.com/ | sh
fedora: sudo dnf install docker
macos:
skipif: exists /Applications/Docker.app
