Skip to content

Commit

Permalink
remove obsidian deb file after install
Browse files Browse the repository at this point in the history
  • Loading branch information
micahmorgan1 committed Sep 13, 2023
1 parent f982757 commit d3439b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ARG OBSIDIAN_VERSION=1.4.12
RUN echo "**** download obsidian ****" && \
curl --location --output obsidian.deb "https://github.com/obsidianmd/obsidian-releases/releases/download/v${OBSIDIAN_VERSION}/obsidian_${OBSIDIAN_VERSION}_amd64.deb" && \
dpkg -i obsidian.deb && \
rm obsidian.deb && \
sed -i 's,/opt/Obsidian/obsidian,/opt/Obsidian/obsidian --no-sandbox,g' /usr/share/applications/obsidian.desktop && \
cp /usr/share/applications/obsidian.desktop $HOME/Desktop/ && \
chmod +x $HOME/Desktop/obsidian.desktop && \
Expand Down

0 comments on commit d3439b1

Please sign in to comment.