Skip to content

Instantly share code, notes, and snippets.

View g-maxime's full-sized avatar

Maxime Gervais g-maxime

View GitHub Profile
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),Linux)
BMSDK = ./linuxbrew/.linuxbrew/include
endif
ifeq ($(uname_S),Darwin)
BMSDK = /usr/local/include
endif
FROM amazonlinux:2
RUN yum -y update && \
yum -y groupinstall -y 'Development Tools' && \
yum -y install git zlib-devel perl-core
RUN git clone --depth=1 https://github.com/openssl/openssl && \
(cd openssl && ./config no-shared --prefix=$(pwd)/usr && make install)