mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
* Initial port of release/0.24 source code * Fix additional headers * Fix a typo in launch.json
46 lines
1.4 KiB
Docker
46 lines
1.4 KiB
Docker
FROM microsoft/vsts-agent:ubuntu-14.04-standard
|
|
MAINTAINER Joao Moreno <joao.moreno@microsoft.com>
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update
|
|
|
|
# Dependencies
|
|
RUN apt-get install -y build-essential
|
|
RUN apt-get install -y gcc-multilib g++-multilib
|
|
RUN apt-get install -y git
|
|
RUN apt-get install -y dpkg-dev
|
|
RUN apt-get install -y zip
|
|
RUN apt-get install -y rpm
|
|
RUN apt-get install -y createrepo
|
|
RUN apt-get install -y python-gtk2
|
|
RUN apt-get install -y jq
|
|
RUN apt-get install -y xvfb
|
|
RUN apt-get install -y fakeroot
|
|
RUN apt-get install -y libgtk2.0-0
|
|
RUN apt-get install -y libgconf-2-4
|
|
RUN apt-get install -y libnss3
|
|
RUN apt-get install -y libasound2
|
|
RUN apt-get install -y libxtst6
|
|
RUN apt-get install -y libfuse2
|
|
RUN apt-get install -y libnotify-bin
|
|
RUN apt-get install -y libx11-dev
|
|
RUN apt-get install -y libxss1
|
|
RUN apt-get install -y libx11-xcb-dev
|
|
RUN apt-get install -y libxkbfile-dev
|
|
RUN apt-get install -y bc bsdmainutils
|
|
RUN apt-get install -y libsecret-1-dev
|
|
|
|
# Xvfb
|
|
# Thanks https://medium.com/@griggheo/running-headless-selenium-webdriver-tests-in-docker-containers-342fdbabf756
|
|
ADD xvfb.init /etc/init.d/xvfb
|
|
RUN chmod +x /etc/init.d/xvfb
|
|
RUN update-rc.d xvfb defaults
|
|
|
|
# dbus
|
|
RUN ln -sf /bin/dbus-daemon /usr/bin/dbus-daemon
|
|
|
|
# nvm
|
|
ENV NVM_DIR /usr/local/nvm
|
|
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
|
|
|
|
CMD (service xvfb start; service dbus start; export DISPLAY=:10; ./start.sh) |