Compare commits

..

No commits in common. "dd2e9fce277ff4f8699d9b4d9b41526943385e17" and "7c298653f1ec0b7e06c09583e6f1f6fcd967c0c7" have entirely different histories.

2 changed files with 4 additions and 5 deletions

View File

@ -138,6 +138,8 @@ jobs:
package-lock.json package-lock.json
test/package-lock.json test/package-lock.json
- run: SKIP_SUBMODULE_DEPS=1 npm ci
- name: Install cross-compiler and system dependencies - name: Install cross-compiler and system dependencies
run: | run: |
dpkg --add-architecture $TARGET_ARCH dpkg --add-architecture $TARGET_ARCH
@ -149,10 +151,7 @@ jobs:
libsecret-1-dev:$TARGET_ARCH \ libsecret-1-dev:$TARGET_ARCH \
libkrb5-dev:$TARGET_ARCH \ libkrb5-dev:$TARGET_ARCH \
ca-certificates \ ca-certificates \
curl wget rsync gettext-base \ curl wget rsync gettext-base
python3
- run: SKIP_SUBMODULE_DEPS=1 npm ci
- name: Install nfpm - name: Install nfpm
run: | run: |

View File

@ -7,7 +7,7 @@ eval "$(fixuid -q)"
if [ "${DOCKER_USER-}" ]; then if [ "${DOCKER_USER-}" ]; then
USER="$DOCKER_USER" USER="$DOCKER_USER"
if [ -z "$(id -u "$DOCKER_USER" 2>/dev/null)" ]; then if [ "$DOCKER_USER" != "$(whoami)" ]; then
echo "$DOCKER_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null echo "$DOCKER_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
# Unfortunately we cannot change $HOME as we cannot move any bind mounts # Unfortunately we cannot change $HOME as we cannot move any bind mounts
# nor can we bind mount $HOME into a new home as that requires a privileged container. # nor can we bind mount $HOME into a new home as that requires a privileged container.