Skip to content

Commit

Permalink
feat: add memento plugins to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Mondelli committed May 12, 2023
1 parent 0f8d8c3 commit 5e66ffd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ COPY ./ /opt/memento

RUN cd /opt/memento && ./install.pl

RUN mkdir -p /opt/memento/Memento/Tool/custom && \
cd /opt/memento/Memento/Tool/custom && \
git clone https://github.com/bmeme/memento-plugins.git && \
git clone https://github.com/bmeme/memento-docker.git && \
git clone https://github.com/bmeme/memento-kickstarter.git

RUN groupadd --gid 1000 memento && \
useradd \
--uid 1000 \
Expand Down
2 changes: 1 addition & 1 deletion cmemento
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else
WORKDIR="/usr/src/app"
fi

docker run \
docker run --rm \
-v /home/$(whoami)/.memento:/home/memento/.memento \
-v ${SOURCE}:${DEST} \
-v ~/.ssh:/home/memento/.ssh \
Expand Down

0 comments on commit 5e66ffd

Please sign in to comment.