This repository was archived by the owner on Feb 4, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525export IMAGE = aws-do-cli
2626# # VERSION: [optional] - Version tag for this Docker image. Example: v20180302
2727# export VERSION=v$(date +%Y%m%d)
28- export VERSION = latest
28+ export VERSION = v20211005
2929export TAG = $( if [ -z " ${VERSION} " ]; then echo " " ; else echo " :${VERSION} " ; fi )
3030# # BUILD_OPTS: [optional] - arguments for the docker image build command
3131export BUILD_OPTS = " --progress=plain --build-arg http_proxy=${ http_proxy } --build-arg https_proxy=${ https_proxy } --build-arg no_proxy=${ no_proxy } "
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # #####################################################################
4+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. #
5+ # SPDX-License-Identifier: Apache-2.0 #
6+ # #####################################################################
7+
8+ source ./ec2.conf
9+
10+ function usage() {
11+ echo " "
12+ echo " Usage: $0 <instance_id>"
13+ echo
14+ }
15+
16+ if [ " $1 " == " " ]; then
17+ usage
18+ else
19+ CMD=" aws ec2 describe-instances --instance-id $1 "
20+ echo " $CMD "
21+ eval " $CMD "
22+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # #####################################################################
4+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. #
5+ # SPDX-License-Identifier: Apache-2.0 #
6+ # #####################################################################
7+
8+ source .env
9+
10+ docker container start ${CONTAINER}
11+
You can’t perform that action at this time.
0 commit comments