Skip to content

Commit 92b0193

Browse files
fix: add user and docker digest
Signed-off-by: Scott Schreckengaust <[email protected]>
1 parent 214773c commit 92b0193

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [Unreleased]
9+
10+
### Added
11+
12+
- Bedrock Guardrails sample
13+
14+
<!-- markdownlint-disable MD024 -->
15+
## [1.0.0]
16+
17+
### Added
18+
19+
- Document Explorer sample
20+
- Bedrock Agent sample

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This repository showcases Terraform examples to review and test AWS generative A
66

77
## Getting started
88

9-
Explore each self-contained example in the samples directory to get started!
9+
Explore each self-contained example in the samples directory to get started!
1010

1111
## Structure
1212

samples/document-explorer/client_app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#syntax=docker/dockerfile:1.4
2-
#checkov:skip=CKV_DOCKER_3: No need for a user
3-
FROM public.ecr.aws/docker/library/python:3.13.0-slim # nosemgrep: dockerfile-source-not-pinned
2+
FROM public.ecr.aws/docker/library/python@sha256:4efa69bf17cfbd83a9942e60e2642335c3b397448e00410063a0421f9727c4c4
43

54
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y install procps && apt-get clean && rm -rf /var/lib/apt/lists/*
65

@@ -30,4 +29,5 @@ RUN chmod a+x /app/healthcheck.sh
3029

3130
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "/app/healthcheck.sh" ]
3231

32+
USER nobody
3333
ENTRYPOINT ["streamlit", "run", "Home.py", "--server.port=8501"]

0 commit comments

Comments
 (0)