Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ FROM public.ecr.aws/docker/library/golang:1.23
RUN apt -y update && apt -y upgrade && apt -y install rpm tar gzip wget zip && apt clean all

RUN mkdir /session-manager-plugin
WORKDIR /session-manager-plugin
WORKDIR /session-manager-plugin
ENV HOME=/session-manager-plugin
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,17 @@ To build the Session Manager plugin in a `Docker` container, complete the follow

2. Build the `docker` image
```
docker build -t session-manager-plugin-image .
docker build --tag session-manager-plugin-image .
```
3. Build the plugin
```
docker run -it --rm --name session-manager-plugin -v `pwd`:/session-manager-plugin session-manager-plugin-image make release
docker run --interactive --rm --tty \
--name session-manager-plugin \
--security-opt label=disable \
--user $(id --user):$(id --group) \
--volume ${PWD}:/session-manager-plugin \
session-manager-plugin-image \
make release
```

### Working with Linux
Expand Down