Skip to content

Instantly share code, notes, and snippets.

@1ma
Created December 29, 2018 23:07
Show Gist options
  • Save 1ma/18b1c25268b47fc9e7d89dfe2d053b92 to your computer and use it in GitHub Desktop.
Save 1ma/18b1c25268b47fc9e7d89dfe2d053b92 to your computer and use it in GitHub Desktop.
AdaCore GNAT 2016 environment based on Ubuntu
FROM ubuntu:14.04 AS adacore2016
ENV PATH="/usr/gnat/bin:${PATH}"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
libc6-dev \
make \
&& cd /tmp \
&& curl -OJ http://mirrors.cdn.adacore.com/art/5739cefdc7a447658e0b016b \
&& tar zxf gnat-gpl-2016-x86_64-linux-bin.tar.gz \
&& cd gnat-gpl-2016-x86_64-linux-bin \
&& make ins-all \
&& cd ~ \
&& rm -rf /tmp/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment