Skip to content

Commit a8a720f

Browse files
committed
data-dir gets useful only when reaching tomcat extenion.
1 parent d4b3998 commit a8a720f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docker.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pushrm: README.md docker ## Update the README.md on dockerhub.
5151
pandoc -f docbook -t gfm $< -o $@
5252

5353
explore: 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

5656
run: build work data ## run the docker image
5757
$(DOCKER) run -it $(PORTS) -v $(PWD)/work:/work -v $(PWD)/data:/data $(REGISTRY)$(NAME):$(TAG)

env/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ COPY exrc /.exrc
5959
# Clean up default /etc/bash.bashrc a bit (no call to groups)
6060
COPY bash.bashrc /etc/bash.bashrc
6161

62+
ENV HISTFILE=/work/.bash_history
63+
ENV LESSHISTFILE=/work/.lesshst
64+
6265
WORKDIR /work
6366
ENTRYPOINT ["/bin/bash"]
6467

0 commit comments

Comments
 (0)