mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Updating pipeline linux agent image to Ubuntu 18.04 (#17792)
* Updating the linux build image * adding python to docker file * adding more required libs
This commit is contained in:
@@ -1,12 +1,17 @@
|
|||||||
#Download base image ubuntu 18.04
|
#Download base image ubuntu 18.04
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
#Adding apt repos for g++-4.9
|
||||||
|
RUN echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" >> /etc/apt/sources.list
|
||||||
|
RUN echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" >> /etc/apt/sources.list
|
||||||
|
|
||||||
# Update Software repository
|
# Update Software repository
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt-get update && apt-get upgrade -y
|
||||||
|
|
||||||
RUN apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 \
|
RUN apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 \
|
||||||
libkrb5-dev git apt-transport-https ca-certificates curl gnupg-agent software-properties-common \
|
libkrb5-dev git apt-transport-https ca-certificates curl gnupg-agent software-properties-common \
|
||||||
libnss3 libasound2 make gcc libx11-dev fakeroot rpm libgconf-2-4 libunwind8 g++-4.9
|
libnss3 libasound2 make gcc libx11-dev fakeroot rpm libgconf-2-4 libunwind8 g++-4.9 python-dev \
|
||||||
|
libgbm-dev
|
||||||
|
|
||||||
RUN rm /usr/bin/gcc
|
RUN rm /usr/bin/gcc
|
||||||
RUN rm /usr/bin/g++
|
RUN rm /usr/bin/g++
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
resources:
|
resources:
|
||||||
containers:
|
containers:
|
||||||
- container: linux-x64
|
- container: linux-x64
|
||||||
image: sqltoolscontainers.azurecr.io/linux-build-agent:3
|
image: sqltoolscontainers.azurecr.io/linux-build-agent:6
|
||||||
endpoint: SqlToolsContainers
|
endpoint: SqlToolsContainers
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user