Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
craigthackerx committed Feb 21, 2024
1 parent 79675cb commit 4ff0995
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ optimization, but these work for me. Here is some high level.
## Linux

```shell
docker run -it ghcr.io/libre-devops/azdo-agent-rhel:latest \
docker run -it ghcr.io/libre-devops/azdo-agent-containers/ubuntu:latest \
-e AZP_URL="${AZP_URL}" \
-e AZP_TOKEN="${AZP_TOKEN}" \
-e AZP_POOL="${AZP_POOL}" \
Expand All @@ -62,7 +62,7 @@ Or using podman in a startup script
REPO="ghcr.io"

USER="libre-devops"
IMAGE_NAME="azdo-agent-rhel"
IMAGE_NAME="azdo-agent-containers/rhel"
TAGS=":latest"

AZP_URL="https://dev.azure.com/example"
Expand All @@ -78,6 +78,17 @@ podman run -it \
"${REPO}/${USER}/${IMAGE_NAME}${TAGS}"
```

or minimally

```shell
```shell
docker run -it ghcr.io/libre-devops/azdo-agent-containers/ubuntu:latest \
-e AZP_URL="${AZP_URL}" \
-e AZP_TOKEN="${AZP_TOKEN}" \
```

```

## Windows

```powershell
Expand Down
2 changes: 2 additions & 0 deletions containers/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ARG AZP_AGENT_NAME=Example
ARG AZP_POOL=Default
ARG AZP_WORK=_work
ARG AZP_DIRECTORY=/home/$NORMAL_USER
ARG ACCEPT_EULA=y

#Set the environment with the CLI-passed arguements
ENV AZP_URL ${AZP_URL}
Expand All @@ -24,6 +25,7 @@ ENV AZP_AGENT_NAME ${AZP_AGENT_NAME}
ENV AZP_POOL ${AZP_POOL}
ENV AZP_WORK ${AZP_WORK}
ENV AZP_DIRECTORY ${AZP_DIRECTORY}
ENV ACCEPT_EULA ${ACCEPT_EULA}

ENV NORMAL_USER ${NORMAL_USER}
ENV DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit 4ff0995

Please sign in to comment.