diff --git a/README.md b/README.md index 1ca2b1f..29e733c 100644 --- a/README.md +++ b/README.md @@ -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}" \ @@ -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" @@ -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 diff --git a/containers/ubuntu/Dockerfile b/containers/ubuntu/Dockerfile index c47d124..be05297 100644 --- a/containers/ubuntu/Dockerfile +++ b/containers/ubuntu/Dockerfile @@ -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} @@ -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