-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
❯ cat Dockerfile
FROM debian:10
RUN apt-get update
RUN apt-get install -y curl
RUN curl -Ss https://api.github.com/repos/tycho-kirchner/shournal/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | xargs curl -LSso shournal.deb
RUN apt install -y ./shournal.deb && rm shournal.deb
#RUN curl -LSs https://raw.githubusercontent.com/tycho-kirchner/shournal/master/shell-integration-scripts/bash/bash_integration.sh > /
#RUN SHOURNAL_ENABLE
RUN echo 'export HISTSIZE=2; source /usr/share/shournal/SOURCE_ME.bash && SHOURNAL_ENABLE' >> /root/.bashrc
❯ docker build .
WARN[0000] invalid non-bool value for BUILDX_NO_DEFAULT_LOAD:
[+] Building 0.0s (10/10) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/debian:10 0.0s
=> [1/6] FROM docker.io/library/debian:10 0.0s
=> CACHED [2/6] RUN apt-get update 0.0s
=> CACHED [3/6] RUN apt-get install -y curl 0.0s
=> CACHED [4/6] RUN curl -Ss https://api.github.com/repos/tycho-kirchner/shournal/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d " | xargs curl -LSso shournal.deb 0.0s
=> CACHED [5/6] RUN apt install -y ./shournal.deb && rm shournal.deb 0.0s
=> CACHED [6/6] RUN echo 'export HISTSIZE=2; source /usr/share/shournal/SOURCE_ME.bash && SHOURNAL_ENABLE' >> /root/.bashrc 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:60a0a1f510a47953157e73e9348796e5d36d62d5ff5c3fe54c14d4ac367f95f3
❯ docker run --rm -it 60a0a1f510a47953157e73e9348796e5d36d62d5ff5c3fe54c14d4ac367f95f3 bash
shournal-run 2021-03-30 21:12:39 critical: unshare failed (1): Operation not permitted
shournal shell-integration 2021-03-30 21:12:39 critical: Setup of external shournal-run-process failed, received message: Bad response (-1)
root@40110ef519d3:/# touch foo
shournal-run 2021-03-30 21:12:42 critical: unshare failed (1): Operation not permitted
shournal shell-integration 2021-03-30 21:12:42 critical: Setup of external shournal-run-process failed, received message: Bad response (-1)
root@40110ef519d3:/#
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation