Skip to content

Commit 828f505

Browse files
authored
fix env path (#214)
1 parent 56f2913 commit 828f505

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ RUN apt-get update && \
66
apt-get clean && \
77
rm -rf /var/lib/apt/lists/*
88
RUN curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/aws-cloudformation/cloudformation-guard/main/install-guard.sh | sh
9-
ENV PATH "${PATH}:~/.guard/bin"
9+
ENV PATH "${PATH}:root/.guard/bin"
1010

1111
COPY ./output/ /

docs/Using-Guard-Rules-Registry.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ cfn-guard validate --rules ./NIST800-53Rev4.guard --data myCloudFormation.yml --
5454

5555
All AWS Guard Rule Registry are build into a Docker image with Guard installed. The release rule set files are built and copied into the Docker image allowing for simplified rule set specific. Follow these steps to pull the Docker image and view the available rule sets.
5656

57-
1. run: `docker pull public.ecr.aws/r7q6h7y6/guard:1.0.0`
57+
1. run: `docker pull public.ecr.aws/r7q6h7y6/guard:1.0.1`
5858
2. enter the container to view available rules:
5959
```
60-
docker run -it public.ecr.aws/r7q6h7y6/guard:1.0.0 sh
60+
docker run -it public.ecr.aws/r7q6h7y6/guard:1.0.1 sh
6161
ls
6262
```
6363
3. all rule sets are built into the root directory
6464

65-
> **Note:** The Docker image version identifies the release version. Using the latest tag will give you the latest release.
65+
> **Note:** The Docker image version identifies the release version. Using the `latest` tag will give you the latest release.
6666

6767
## AWS CodePipeline
6868

@@ -79,7 +79,7 @@ Gitlab-CI can leverage the AWS Guard Rules Registry docker image. The example be
7979
```yml
8080
image:
8181
repository: public.ecr.aws/r7q6h7y6/guard
82-
tag: 1.0.0
82+
tag: 1.0.1
8383
8484
stages:
8585
- ci

0 commit comments

Comments
 (0)