!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/netdata/packaging/   drwxr-xr-x
Free 13.2 GB of 57.97 GB (22.76%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     build_package_install_test.sh (997 B)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later

set -e

# If we are not in netdata git repo, at the top level directory, FAIL
TOP_LEVEL=$(basename "$(git rev-parse --show-toplevel)")
CWD=$(git rev-parse --show-cdup || echo "")
if [ -n "${CWD}" ] || [ ! "${TOP_LEVEL}" = "netdata" ]; then
  echo "Run as ./packaging/$(basename "$0") from top level directory of netdata git repository"
  exit 1
fi

if [ $# -lt 2 ] || [ $# -gt 3 ]; then
  echo "Usage: ./packaging/$(basename "$0") <distro> <distro_version> [<netdata_version>]"
  exit 1
fi

if ! command -v docker > /dev/null; then
  echo "Docker CLI not found. You need Docker to run this!"
  exit 2
fi

DISTRO="$1"
DISTRO_VERSION="$2"
# TODO: Auto compute this?
VERSION="${3:-1.19.0}"

TAG="netdata/netdata:${DISTRO}_${DISTRO_VERSION}"

docker build \
  -f ./packaging/Dockerfile.packager \
  --build-arg DISTRO="$DISTRO" \
  --build-arg DISTRO_VERSION="$DISTRO_VERSION" \
  --build-arg VERSION="$VERSION" \
  -t "$TAG" . |
  tee build.log

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0071 ]--