File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ pushrm: README.md docker ## Update the README.md on dockerhub.
5151 pandoc -f docbook -t gfm $< -o $@
5252
5353explore : build work data # # explore the docker image
54- $(DOCKER ) run -it --entrypoint bash --user $(shell id -u) :$(shell id -g) -v $(PWD ) /work:/work -v $(PWD ) /data:/data $(REGISTRY )$(NAME ) :$(TAG )
54+ $(DOCKER ) run -it --entrypoint bash --user $(shell id -u) :$(shell id -g) -v $(PWD ) /work:/work -v $(PWD ) /data:/data -v $( HOME ) /.m2:/.m2 $(REGISTRY )$(NAME ) :$(TAG )
5555
5656run : build work data # # run the docker image
5757 $(DOCKER ) run -it $(PORTS ) -v $(PWD ) /work:/work -v $(PWD ) /data:/data $(REGISTRY )$(NAME ) :$(TAG )
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ COPY exrc /.exrc
5959# Clean up default /etc/bash.bashrc a bit (no call to groups)
6060COPY bash.bashrc /etc/bash.bashrc
6161
62+ ENV HISTFILE=/work/.bash_history
63+ ENV LESSHISTFILE=/work/.lesshst
64+
6265WORKDIR /work
6366ENTRYPOINT ["/bin/bash" ]
6467
You can’t perform that action at this time.
0 commit comments