Commit 112b4b11 authored by nimrod's avatar nimrod
Browse files

Tweaks for running in toolbox.

parent 465e40c8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ repos:
      - id: trailing-whitespace

  - repo: https://github.com/Yelp/detect-secrets
    rev: v0.14.3
    rev: v1.1.0
    hooks:
      - id: detect-secrets

+5 −1
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ RUN apt-get update && \
        sharutils \
        shellcheck \
        subversion \
        sudo \
        swaks \
        task-english \
        task-hebrew \
@@ -148,7 +149,6 @@ RUN apt-get update && \
        passlib \
        pgcli \
        pipenv \
        pkp \
        poetry \
        pre-commit \
        protobuf \
@@ -183,6 +183,10 @@ RUN apt-get update && \
    wget https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox.tar.gz?job=build -O /tmp/toolbox.tar.gz && \
    tar -xzf /tmp/toolbox.tar.gz -C / && \
    mkdir /etc/krb5.conf.d && \
    echo 'VARIANT_ID=container' >> /etc/os-release && \
    touch /etc/localtime && \
    # pragma: allowlist nextline secret
    sed -i -e 's/ ALL$/ NOPASSWD:ALL/' /etc/sudoers && \
    rm /etc/ssh/ssh_host_* && \
    rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
LABEL com.github.containers.toolbox="true" \