Skip to content

Commit

Permalink
Remove D-Bus env vars from container and CI files
Browse files Browse the repository at this point in the history
  • Loading branch information
m-horky committed Nov 7, 2022
1 parent f636251 commit 706695e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion Containerfile
Expand Up @@ -78,7 +78,6 @@ RUN pip3 install -r dev-requirements.txt && \

RUN chown -R user:user /build
USER user
ENV DBUS_SESSION_BUS_ADDRESS='unix:path=/tmp/bus'
RUN echo "export SMDEV_CONTAINER_OFF='True'" >> /home/user/.bashrc && \
echo "export SMDEV_CONTAINER_OFF='True'" >> /home/user/.zshrc
WORKDIR /build/subscription-manager
2 changes: 0 additions & 2 deletions jenkins/run.sh
Expand Up @@ -29,7 +29,6 @@ echo "Using container name: $TAG"
if [ -d $WORKSPACE@tmp ]; then
podman run -it \
-u $JUID:$JGID \
-v /run/user/$JUID/bus:/tmp/bus \
-w $WORKSPACE \
-v $WORKSPACE:$WORKSPACE:rw,z \
-v $WORKSPACE@tmp:$WORKSPACE@tmp:rw,z \
Expand All @@ -42,7 +41,6 @@ if [ -d $WORKSPACE@tmp ]; then
else
podman run -it \
-u $JUID:$JGID \
-v /run/user/$JUID/bus:/tmp/bus \
-w $WORKSPACE \
-v $WORKSPACE:$WORKSPACE:rw,z \
--name "$TAG" \
Expand Down

0 comments on commit 706695e

Please sign in to comment.