Skip to content

Commit

Permalink
fix(elasticsearch): netcat package name in Debian-based distros
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Jun 3, 2024
1 parent deea38c commit 999f151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/src/elasticsearch/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "elasticsearch",
"name": "Elasticsearch",
"description": "Sets up Elasticsearch into the Dev Environment",
"version": "1.1.0",
"version": "1.1.1",
"containerEnv": {
"ES_TMPDIR": "/usr/share/elasticsearch/tmp"
},
Expand Down
2 changes: 1 addition & 1 deletion features/src/elasticsearch/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if [ "${ENABLED}" = "true" ]; then
# Elastcsearch's Dockerfile says ES need netcat
# https://github.com/elastic/dockerfiles/blob/15cf539642c8466777c84a3dd969e9678f31605c/elasticsearch/Dockerfile#L90
if ! hash nc >/dev/null 2>&1; then
PACKAGES="${PACKAGES} netcat"
PACKAGES="${PACKAGES} netcat-openbsd"
fi

if [ -n "${PACKAGES}" ]; then
Expand Down

0 comments on commit 999f151

Please sign in to comment.