#
# Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#

FROM ubuntu:18.04

RUN \
    apt-get update && \
    apt-get --no-install-recommends -y install \
        software-properties-common \
        ca-certificates \
        libssl-dev \
        git \
        python3 \
        python3-requests \
        mysql-client && \
    add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
    apt-get --no-install-recommends -y install gcc-6 g++-6 && \
    ln -s /usr/bin/g++-6 /usr/bin/g++ && \
    ln -s /usr/bin/gcc-6 /usr/bin/gcc && \
    ln -s /usr/bin/python3 /usr/bin/python

