Skip to content

Instantly share code, notes, and snippets.

@apetenchea
Last active August 26, 2022 10:53
Show Gist options
  • Save apetenchea/41890b726dcbcf57c67140c3cc48b471 to your computer and use it in GitHub Desktop.
Save apetenchea/41890b726dcbcf57c67140c3cc48b471 to your computer and use it in GitHub Desktop.
# My own Dockerfile for building arangodb using gcc-11.2
# docker run -it -v /local/path/to/arangodb:/arangodb gcc-11.2 /bin/bash
FROM gcc:11.2.0
WORKDIR /arangodb
RUN apt-get -y update && apt-get install -y build-essential libssl-dev libjemalloc-dev python libldap2-dev ripgrep
RUN wget https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3-Linux-x86_64.sh \
-q -O /tmp/cmake-install.sh \
&& chmod u+x /tmp/cmake-install.sh \
&& mkdir /usr/bin/cmake \
&& /tmp/cmake-install.sh --skip-license --prefix=/usr/bin/cmake \
&& rm /tmp/cmake-install.sh
ENV PATH="/usr/bin/cmake/bin:${PATH}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment