Skip to content

Instantly share code, notes, and snippets.

@kjelly
Created February 26, 2020 09:30
Show Gist options
  • Save kjelly/06056b3e33ae2efb031590f7030a5ccc to your computer and use it in GitHub Desktop.
Save kjelly/06056b3e33ae2efb031590f7030a5ccc to your computer and use it in GitHub Desktop.
My dart development env
FROM google/dart
RUN apt-get update && \
apt-get install -y --force-yes git fish vim silversearcher-ag zsh wget tmux && \
apt-get install -y --force-yes libssl-dev libffi-dev curl python2.7-dev sudo man-db build-essential python3-dev&& \
apt-get install -y --force-yes mariadb-client influxdb-client iputils-ping net-tools iproute2 ldap-utils fish git
RUN cp /usr/bin/python3 /usr/bin/python && \
curl https://bootstrap.pypa.io/get-pip.py | python2.7 - && \
curl https://bootstrap.pypa.io/get-pip.py | python3 - && \
pip install --upgrade pip && \
pip install python-openstackclient python-heatclient gnocchiclient aodhclient osc-placement python-ironicclient && \
pip install ipython
RUN python2.7 -m pip install pynvim ansible; python3 -m pip install pynvim ansible;
RUN git clone https://github.com/kjelly/auto_config /auto_config ; \
cd /auto_config ; echo {}|./nrun.py -r developer-packages fish vim -a deploy; ls
RUN wget -qO- https://raw.githubusercontent.com/kjelly/auto_config/master/scripts/init_nvim_nightly.sh | bash ; \
wget -qO- https://raw.githubusercontent.com/kjelly/auto_config/master/scripts/init_nvim.sh | bash ; \
wget -qO- https://raw.githubusercontent.com/kjelly/auto_config/master/scripts/init_nvimrc.sh | bash ; \
nvim --headless "+silent! PlugInstall" +qall; ls
COPY pubspec.yaml /data/pubspec.yaml
RUN cd /data ; pub get
CMD ["/bin/sleep", "infinity"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment