1) 업데이트
vi /etc/yum.repos.d/city-fan.repo
# 아래 소스 추가
[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/
enabled=1
gpgcheck=0
# 실행 설치
yum clean all && yum install curl
2) dockerfile
RUN set -x \
&& { \
echo '[CityFan]'; \
echo 'name=City Fan Repo'; \
echo 'baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/'; \
echo 'enabled=1'; \
echo 'gpgcheck=0'; \
} > /etc/yum.repos.d/city-fan.repo \
&& cat /etc/yum.repos.d/city-fan.repo
RUN yum clean all && yum install curl