Skip to content

Commit 15ac881

Browse files
authored
updated docs with other options
1 parent 3b02ebf commit 15ac881

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,26 @@ jobs:
6767
shell: bash
6868
```
6969
70+
## Other options
71+
72+
- Execute locally
73+
```bash
74+
curl -L -o install-aws.sh https://raw.githubusercontent.com/unfor19/install-aws-cli-action/master/entrypoint.sh && \
75+
chmod +x install-aws.sh
76+
./install-aws.sh "v2" "amd64"
77+
rm install-aws.sh
78+
```
79+
- Dockerfile - Add this to your Dockerfile
80+
```dockerfile
81+
# Install AWS CLI
82+
WORKDIR /tmp/
83+
RUN curl -L -o install-aws.sh https://raw.githubusercontent.com/unfor19/install-aws-cli-action/master/entrypoint.sh && \
84+
sudo chmod +x install-aws.sh && \
85+
sudo ./install-aws.sh "v2" "amd64" && \
86+
sudo rm install-aws.sh
87+
```
88+
*NOTE*: On some Docker images you might need to add `sudo` in front of each command, like `sudo curl -L ..`, `sudo chmod ..`, etc.
89+
7090
## Local Development
7191

7292
<details>

0 commit comments

Comments
 (0)