# Copyright (c) Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2024 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT

# This script helps install ELS repository
# Before use the script you should get a license key in CLN

FROM centos:7

ARG els_license_key

RUN yum install -y wget
ADD https://repo.tuxcare.com/centos7-els/install-centos7-els-repo.sh /opt/
RUN sh /opt/install-centos7-els-repo.sh --license-key ${els_license_key}
RUN yum update -y
