Skip to content

Commit

Permalink
Remove deprecated CentOS
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Jul 30, 2024
1 parent f49149f commit 5ee624b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
test:
strategy:
matrix:
image: [ ubuntu, ubuntu-14.04, alpine, debian, amazonlinux, centos7, rockylinux8, rockylinux9, fedora]
image: [ ubuntu, ubuntu-14.04, alpine, debian, amazonlinux, rockylinux8, rockylinux9, fedora]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


This is a script to automate [Oh My Zsh](https://ohmyz.sh/) installation in development containers.
Works with any image based on Alpine, Ubuntu, Debian, Amazon Linux, CentOS 7, RockyLinux 8,9 and Fedora.
Works with any image based on Alpine, Ubuntu, Debian, Amazon Linux, RockyLinux 8,9 and Fedora.

The original goal was to simplify setting up `zsh` and Oh My Zsh in a Docker image for use with [VSCode's Remote Containers
extension](https://code.visualstudio.com/docs/remote/containers), but it can be used whenever you
Expand Down
5 changes: 0 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ services:
entrypoint: /bin/sh
command: -c "while sleep 1000; do :; done"

test-centos7:
image: centos:7
entrypoint: /bin/sh
command: -c "while sleep 1000; do :; done"

test-rockylinux8:
image: rockylinux:8
entrypoint: /bin/sh
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test_suite() {
docker compose stop -t 1 test-$image_name
}

images=${*:-"alpine ubuntu ubuntu-14.04 debian amazonlinux centos7 rockylinux8 rockylinux9 fedora"}
images=${*:-"alpine ubuntu ubuntu-14.04 debian amazonlinux rockylinux8 rockylinux9 fedora"}

for image in $images; do
test_suite $image
Expand Down
2 changes: 1 addition & 1 deletion zsh-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ install_dependencies() {
$Sudo yum install -y git zsh
$Sudo yum install -y ncurses-compat-libs # this is required for AMZN Linux (ref: https://github.com/emqx/emqx/issues/2503)
;;
rhel|fedora|centos|rocky)
rhel|fedora|rocky)
$Sudo yum update -y
$Sudo yum install -y git zsh
;;
Expand Down

0 comments on commit 5ee624b

Please sign in to comment.