-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.sh
executable file
·59 lines (55 loc) · 1.04 KB
/
index.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/sh
# ?
while getopts e:o:f:h flag
do
case "${flag}" in
e) environment=${OPTARG};;
o) os=${OPTARG};;
f) fl=${OPTARG};;
h) help=${OPTARG};;
esac
done
echo "Environment: $environment";
echo "OS: $os";
echo "Flag: $fl";
echo "Help: $help";
#
#
#COMPOSE_ENVIRONMENT=$1
#
#echo "Environment: ${COMPOSE_ENVIRONMENT}"
#
#echo "Environment: ${COMPOSE_ENVIRONMENT}"
#
#if [ -z "${COMPOSE_ENVIRONMENT}" ]; then
# echo "Running on production do not need to install develop software";
# exit;
#fi
#
#if [ $string1 == $string2 ]; then
# echo "Running on production do not need to install develop software";
# exit;
#fi
#if [ ${COMPOSPE_ENVIRONMENT} == "production" ]; then
# echo "Running on production do not need to install develop software";
# exit;
#fi
#
#apk update -yqq && apk add -yqq \
# curl \
# dnsutils \
# gdb \
# git \
# htop \
# iproute2 \
# iputils-ping \
# ltrace \
# make \
# procps \
# strace \
# sudo \
# sysstat \
# unzip \
# vim \
# wget \
#;