curl 업데이트

snooby·2022년 11월 4일
1

🔫 자잘부리 cs 팁

목록 보기
30/41
post-thumbnail

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
profile
데이터를 가치있게 다루고 싶은 개발자 🐥

0개의 댓글