[GH-ISSUE #852] Image selection issue when dealing with file system permissions and package selection #518

Closed
opened 2026-03-01 21:44:07 +03:00 by kerem · 8 comments
Owner

Originally created by @aytey on GitHub (Oct 30, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/852

System information

  • Operating System: Linux
  • Architecture: x64 (64-bit)
  • Apple M1: no
  • Docker version: 20.10.9-ce
  • Docker image used in act: (discussed below)
  • act version: act version 0.2.24-31-g83a28d9

Expected behaviour

That using either ghcr.io/catthehacker/ubuntu:act-latest or ghcr.io/catthehacker/ubuntu:full-latest, I should be able to make a working directory in the current repo and be able to apt install gcc-11.

Actual behaviour

Here's what I experience:

  • With ghcr.io/catthehacker/ubuntu:act-latest (a4d332757f9a) and --bind:

    • mkdir works
    • no gcc-11
  • With ghcr.io/catthehacker/ubuntu:act-latest (a4d332757f9a) and without --bind:

    • mkdir works
    • no gcc-11
  • With ghcr.io/catthehacker/ubuntu:full-latest (469ca44c2e1c) and --bind:

    • mkdir fails
    • has gcc-11
  • With ghcr.io/catthehacker/ubuntu:full-latest (469ca44c2e1c) and without --bind:

    • mkdir fails
    • has gcc-11

Workflow and/or repository

name: build

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: deps
        run: |
          sudo apt update -y
          sudo apt search gcc-11
          mkdir moo

act output

I can provide this, but it is pretty boring, it simply reflects what I gave above; that is:

  • ghcr.io/catthehacker/ubuntu:act-latest allows me to make directories, but doesn't have gcc-11
  • ghcr.io/catthehacker/ubuntu:full-latest has gcc-11, but doesn't allow me to make directories

Output of act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest --bind -v

time="2021-10-30T19:16:25+01:00" level=debug msg="Loading environment from /home/avj/test/.env"
time="2021-10-30T19:16:25+01:00" level=debug msg="Loading secrets from /home/avj/test/.secrets"
time="2021-10-30T19:16:25+01:00" level=debug msg="Loading workflows from '/home/avj/test/.github/workflows'"
time="2021-10-30T19:16:25+01:00" level=debug msg="Loading workflows recursively"
time="2021-10-30T19:16:25+01:00" level=debug msg="Found workflow 'push.yml' in '/home/avj/test/.github/workflows/push.yml'"
time="2021-10-30T19:16:25+01:00" level=debug msg="Reading workflow '/home/avj/test/.github/workflows/push.yml'"
time="2021-10-30T19:16:25+01:00" level=debug msg="Correcting if statements '/home/avj/test/.github/workflows/push.yml'"
time="2021-10-30T19:16:25+01:00" level=debug msg="Planning event: push"
time="2021-10-30T19:16:25+01:00" level=debug msg="Loading slug from git directory '/home/avj/test/.git'"
time="2021-10-30T19:16:25+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n"
time="2021-10-30T19:16:25+01:00" level=debug msg="Loading revision from git directory '/home/avj/test/.git'"
time="2021-10-30T19:16:25+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n"
time="2021-10-30T19:16:25+01:00" level=debug msg="HEAD points to 'cebf212b374326e5bd79aef85867bdd357db4daa'"
time="2021-10-30T19:16:25+01:00" level=debug msg="using github ref: refs/heads/master"
time="2021-10-30T19:16:25+01:00" level=debug msg="context env => map[ACT:true]"
time="2021-10-30T19:16:25+01:00" level=debug msg="context needs => map[]"
[build/build] 🚀  Start image=ghcr.io/catthehacker/ubuntu:full-latest
[build/build]   🐳  docker pull image=ghcr.io/catthehacker/ubuntu:full-latest platform= username= forcePull=false
[build/build]   🐳  docker pull ghcr.io/catthehacker/ubuntu:full-latest
time="2021-10-30T19:16:25+01:00" level=debug msg="Image exists? true"
[build/build] Removed container: b235deed4423a402564b3b0a9ad4de74b29a7814e020be91991e36e3a1320f98
[build/build]   🐳  docker create image=ghcr.io/catthehacker/ubuntu:full-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[build/build] Created container name=act-build-build id=efe66f15daadd1d9a44f91b3c7d8bb089491df2ec1c1e40822d06b46baeb5f3f from image ghcr.io/catthehacker/ubuntu:full-latest (platform: )
[build/build] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[build/build]   🐳  docker run image=ghcr.io/catthehacker/ubuntu:full-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[build/build] Starting container: efe66f15daadd1d9a44f91b3c7d8bb089491df2ec1c1e40822d06b46baeb5f3f
[build/build] Started container: efe66f15daadd1d9a44f91b3c7d8bb089491df2ec1c1e40822d06b46baeb5f3f
[build/build]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[build/build] Exec command '[mkdir -m 0777 -p /var/run/act]'
[build/build] Working directory '/home/avj/test'
time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/event.json len:2"
time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0"
time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0"
[build/build] Extracting content to '/var/run/act/'
time="2021-10-30T19:16:26+01:00" level=debug msg="Loading slug from git directory '/home/avj/test/.git'"
time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n"
time="2021-10-30T19:16:26+01:00" level=debug msg="Loading revision from git directory '/home/avj/test/.git'"
time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n"
time="2021-10-30T19:16:26+01:00" level=debug msg="HEAD points to 'cebf212b374326e5bd79aef85867bdd357db4daa'"
time="2021-10-30T19:16:26+01:00" level=debug msg="using github ref: refs/heads/master"
time="2021-10-30T19:16:26+01:00" level=debug msg="Loading slug from git directory '/home/avj/test/.git'"
time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n"
time="2021-10-30T19:16:26+01:00" level=debug msg="Loading revision from git directory '/home/avj/test/.git'"
time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n"
time="2021-10-30T19:16:26+01:00" level=debug msg="HEAD points to 'cebf212b374326e5bd79aef85867bdd357db4daa'"
time="2021-10-30T19:16:26+01:00" level=debug msg="using github ref: refs/heads/master"
time="2021-10-30T19:16:26+01:00" level=debug msg="context env => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:/tmp/ GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:cebf212b374326e5bd79aef85867bdd357db4daa GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/home/avj/test GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config]"
time="2021-10-30T19:16:26+01:00" level=debug msg="context needs => map[]"
time="2021-10-30T19:16:26+01:00" level=debug msg="context env => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:/tmp/ GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:cebf212b374326e5bd79aef85867bdd357db4daa GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/home/avj/test GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config]"
[build/build] setupEnv => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:/tmp/ GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:cebf212b374326e5bd79aef85867bdd357db4daa GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/home/avj/test GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config]
[build/build] ⭐  Run deps
time="2021-10-30T19:16:26+01:00" level=debug msg="Wrote command '\nmkdir moo\n\n' to 'workflow/0'"
time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/0 len:10"
[build/build] Extracting content to '/home/avj/test'
[build/build]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/avj/test/workflow/0] user= workdir=
[build/build] Exec command '[bash --noprofile --norc -e -o pipefail /home/avj/test/workflow/0]'
[build/build] Working directory '/home/avj/test'
[build/build]   | mkdir: cannot create directory 'moo': Permission denied
time="2021-10-30T19:16:26+01:00" level=debug msg="exit with `FAILURE`: 1"
[build/build]   ❌  Failure - deps
time="2021-10-30T19:16:26+01:00" level=debug msg="exit with `FAILURE`: 1"
Error: exit with `FAILURE`: 1
Originally created by @aytey on GitHub (Oct 30, 2021). Original GitHub issue: https://github.com/nektos/act/issues/852 ## System information - Operating System: Linux - Architecture: x64 (64-bit) - Apple M1: no - Docker version: `20.10.9-ce` - Docker image used in `act`: (discussed below) - `act` version: `act version 0.2.24-31-g83a28d9` ## Expected behaviour That using either `ghcr.io/catthehacker/ubuntu:act-latest` or `ghcr.io/catthehacker/ubuntu:full-latest`, I should be able to make a working directory in the current repo **and** be able to `apt install` `gcc-11`. ## Actual behaviour Here's what I experience: * With `ghcr.io/catthehacker/ubuntu:act-latest` (a4d332757f9a) and `--bind`: + `mkdir` works + no `gcc-11` * With `ghcr.io/catthehacker/ubuntu:act-latest` (a4d332757f9a) and *without* `--bind`: + `mkdir` works + no `gcc-11` * With `ghcr.io/catthehacker/ubuntu:full-latest` (469ca44c2e1c) and `--bind`: + `mkdir` fails + has `gcc-11` * With `ghcr.io/catthehacker/ubuntu:full-latest` (469ca44c2e1c) and *without* `--bind`: + `mkdir` fails + has `gcc-11` ## Workflow and/or repository ```yaml name: build on: [push] jobs: build: runs-on: ubuntu-latest steps: - name: deps run: | sudo apt update -y sudo apt search gcc-11 mkdir moo ``` ## `act` output I can provide this, but it is pretty boring, it simply reflects what I gave above; that is: - `ghcr.io/catthehacker/ubuntu:act-latest` allows me to make directories, but doesn't have `gcc-11` - `ghcr.io/catthehacker/ubuntu:full-latest` has `gcc-11`, but doesn't allow me to make directories ### Output of `act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest --bind -v` ``` time="2021-10-30T19:16:25+01:00" level=debug msg="Loading environment from /home/avj/test/.env" time="2021-10-30T19:16:25+01:00" level=debug msg="Loading secrets from /home/avj/test/.secrets" time="2021-10-30T19:16:25+01:00" level=debug msg="Loading workflows from '/home/avj/test/.github/workflows'" time="2021-10-30T19:16:25+01:00" level=debug msg="Loading workflows recursively" time="2021-10-30T19:16:25+01:00" level=debug msg="Found workflow 'push.yml' in '/home/avj/test/.github/workflows/push.yml'" time="2021-10-30T19:16:25+01:00" level=debug msg="Reading workflow '/home/avj/test/.github/workflows/push.yml'" time="2021-10-30T19:16:25+01:00" level=debug msg="Correcting if statements '/home/avj/test/.github/workflows/push.yml'" time="2021-10-30T19:16:25+01:00" level=debug msg="Planning event: push" time="2021-10-30T19:16:25+01:00" level=debug msg="Loading slug from git directory '/home/avj/test/.git'" time="2021-10-30T19:16:25+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n" time="2021-10-30T19:16:25+01:00" level=debug msg="Loading revision from git directory '/home/avj/test/.git'" time="2021-10-30T19:16:25+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n" time="2021-10-30T19:16:25+01:00" level=debug msg="HEAD points to 'cebf212b374326e5bd79aef85867bdd357db4daa'" time="2021-10-30T19:16:25+01:00" level=debug msg="using github ref: refs/heads/master" time="2021-10-30T19:16:25+01:00" level=debug msg="context env => map[ACT:true]" time="2021-10-30T19:16:25+01:00" level=debug msg="context needs => map[]" [build/build] 🚀 Start image=ghcr.io/catthehacker/ubuntu:full-latest [build/build] 🐳 docker pull image=ghcr.io/catthehacker/ubuntu:full-latest platform= username= forcePull=false [build/build] 🐳 docker pull ghcr.io/catthehacker/ubuntu:full-latest time="2021-10-30T19:16:25+01:00" level=debug msg="Image exists? true" [build/build] Removed container: b235deed4423a402564b3b0a9ad4de74b29a7814e020be91991e36e3a1320f98 [build/build] 🐳 docker create image=ghcr.io/catthehacker/ubuntu:full-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [build/build] Created container name=act-build-build id=efe66f15daadd1d9a44f91b3c7d8bb089491df2ec1c1e40822d06b46baeb5f3f from image ghcr.io/catthehacker/ubuntu:full-latest (platform: ) [build/build] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [build/build] 🐳 docker run image=ghcr.io/catthehacker/ubuntu:full-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [build/build] Starting container: efe66f15daadd1d9a44f91b3c7d8bb089491df2ec1c1e40822d06b46baeb5f3f [build/build] Started container: efe66f15daadd1d9a44f91b3c7d8bb089491df2ec1c1e40822d06b46baeb5f3f [build/build] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [build/build] Exec command '[mkdir -m 0777 -p /var/run/act]' [build/build] Working directory '/home/avj/test' time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/event.json len:2" time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0" time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0" [build/build] Extracting content to '/var/run/act/' time="2021-10-30T19:16:26+01:00" level=debug msg="Loading slug from git directory '/home/avj/test/.git'" time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n" time="2021-10-30T19:16:26+01:00" level=debug msg="Loading revision from git directory '/home/avj/test/.git'" time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n" time="2021-10-30T19:16:26+01:00" level=debug msg="HEAD points to 'cebf212b374326e5bd79aef85867bdd357db4daa'" time="2021-10-30T19:16:26+01:00" level=debug msg="using github ref: refs/heads/master" time="2021-10-30T19:16:26+01:00" level=debug msg="Loading slug from git directory '/home/avj/test/.git'" time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n" time="2021-10-30T19:16:26+01:00" level=debug msg="Loading revision from git directory '/home/avj/test/.git'" time="2021-10-30T19:16:26+01:00" level=debug msg="Found revision: cebf212b374326e5bd79aef85867bdd357db4daa\n" time="2021-10-30T19:16:26+01:00" level=debug msg="HEAD points to 'cebf212b374326e5bd79aef85867bdd357db4daa'" time="2021-10-30T19:16:26+01:00" level=debug msg="using github ref: refs/heads/master" time="2021-10-30T19:16:26+01:00" level=debug msg="context env => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:/tmp/ GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:cebf212b374326e5bd79aef85867bdd357db4daa GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/home/avj/test GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config]" time="2021-10-30T19:16:26+01:00" level=debug msg="context needs => map[]" time="2021-10-30T19:16:26+01:00" level=debug msg="context env => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:/tmp/ GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:cebf212b374326e5bd79aef85867bdd357db4daa GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/home/avj/test GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config]" [build/build] setupEnv => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:/tmp/ GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:cebf212b374326e5bd79aef85867bdd357db4daa GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/home/avj/test GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config] [build/build] ⭐ Run deps time="2021-10-30T19:16:26+01:00" level=debug msg="Wrote command '\nmkdir moo\n\n' to 'workflow/0'" time="2021-10-30T19:16:26+01:00" level=debug msg="Writing entry to tarball workflow/0 len:10" [build/build] Extracting content to '/home/avj/test' [build/build] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/avj/test/workflow/0] user= workdir= [build/build] Exec command '[bash --noprofile --norc -e -o pipefail /home/avj/test/workflow/0]' [build/build] Working directory '/home/avj/test' [build/build] | mkdir: cannot create directory 'moo': Permission denied time="2021-10-30T19:16:26+01:00" level=debug msg="exit with `FAILURE`: 1" [build/build] ❌ Failure - deps time="2021-10-30T19:16:26+01:00" level=debug msg="exit with `FAILURE`: 1" Error: exit with `FAILURE`: 1 ```
kerem 2026-03-01 21:44:07 +03:00
Author
Owner

@catthehacker commented on GitHub (Oct 30, 2021):

Already tracked in #398

<!-- gh-comment-id:955580417 --> @catthehacker commented on GitHub (Oct 30, 2021): Already tracked in #398
Author
Owner

@aytey commented on GitHub (Oct 30, 2021):

@catthehacker apologies for the duplicate.

How does ubuntu:act-latest compare to ubuntu:full-latest? Is this documented anywhere?

<!-- gh-comment-id:955586574 --> @aytey commented on GitHub (Oct 30, 2021): @catthehacker apologies for the duplicate. How does `ubuntu:act-latest` compare to `ubuntu:full-latest`? Is this documented anywhere?
Author
Owner

@catthehacker commented on GitHub (Oct 30, 2021):

ubuntu:act-latest uses root user
ubuntu:full-latest has runner user

<!-- gh-comment-id:955587008 --> @catthehacker commented on GitHub (Oct 30, 2021): `ubuntu:act-latest` uses `root` user `ubuntu:full-latest` has `runner` user
Author
Owner

@aytey commented on GitHub (Oct 30, 2021):

Are these two the right way around? I thought that it was the opposite (i.e., that act-latest uses runner)?

Also, I think there's more to it than that -- the apt repos are different between them:gcc-11 exists as a package in ubuntu:full-latest but not in ubuntu:act-latest.

<!-- gh-comment-id:955587301 --> @aytey commented on GitHub (Oct 30, 2021): Are these two the right way around? I thought that it was the opposite (i.e., that `act-latest` uses `runner`)? Also, I think there's more to it than that -- the `apt` repos are different between them:`gcc-11` exists as a package in `ubuntu:full-latest` but not in `ubuntu:act-latest`.
Author
Owner

@catthehacker commented on GitHub (Oct 30, 2021):

Also, I think there's more to it than that -- the apt repos are different between them:gcc-11 exists as a package in ubuntu:full-latest but not in ubuntu:act-latest.

gcc-11 is not available in default repos for Ubuntu 20.04

<!-- gh-comment-id:955588055 --> @catthehacker commented on GitHub (Oct 30, 2021): > Also, I think there's more to it than that -- the `apt` repos are different between them:`gcc-11` exists as a package in `ubuntu:full-latest` but not in `ubuntu:act-latest`. `gcc-11` is not available in default repos for Ubuntu 20.04
Author
Owner

@aytey commented on GitHub (Oct 30, 2021):

Ah, okay, so full-latest contains the extra repos that GitHub supplies in their images? Is there a "full-latest including runner usage" image? It is okay if this is a no, but I just want to check.

<!-- gh-comment-id:955588256 --> @aytey commented on GitHub (Oct 30, 2021): Ah, okay, so `full-latest` contains the extra repos that GitHub supplies in their images? Is there a "`full-latest` including `runner` usage" image? It is okay if this is a no, but I just want to check.
Author
Owner

@catthehacker commented on GitHub (Oct 30, 2021):

ubuntu:act-latest uses root user
ubuntu:full-latest has runner user

<!-- gh-comment-id:955588442 --> @catthehacker commented on GitHub (Oct 30, 2021): > `ubuntu:act-latest` uses `root` user > `ubuntu:full-latest` has `runner` user
Author
Owner

@aytey commented on GitHub (Oct 30, 2021):

I'm not trying to be annoying or difficult, but those two images are "quite different" different -- to match what a user might see running under Actions on GitHub, you really need something that is a combination of both of those (at least in my testing).

<!-- gh-comment-id:955591492 --> @aytey commented on GitHub (Oct 30, 2021): I'm not trying to be annoying or difficult, but those two images are "quite different" different -- to match what a user might see running under Actions on GitHub, you really need something that is a combination of both of those (at least in my testing).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#518
No description provided.