Skip to content

Commit

Permalink
Include VERSION file in container
Browse files Browse the repository at this point in the history
  • Loading branch information
Gissur Þórhallsson committed Mar 16, 2022
1 parent d9b2e39 commit 23b6b54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ RUN chsh -s /usr/bin/fish
ENV SHELL /usr/bin/fish
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8

ENTRYPOINT [ "fish" ]

RUN apt-get update --quiet -y
RUN apt-get install --quiet -y \
curl \
Expand All @@ -28,4 +26,5 @@ RUN apt-get install --quiet -y \
RUN alias k=kubectl
RUN alias ll="ls -latr"

COPY VERSION /VERSION
CMD [ "sleep", "infinity" ] # Overridable in yaml
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ docker.push:
@docker push "$(DOCKER_REPO):latest"

docker.shell:
docker run -it $(DOCKER_REPO):$(VERSION) bash
docker run -it $(DOCKER_REPO):$(VERSION) fish

# k8s stuff
k8s.install:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1

0 comments on commit 23b6b54

Please sign in to comment.