Skip to content

Commit

Permalink
Allow different versions of containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Dahan committed Jun 2, 2019
1 parent 1d1b1aa commit 3bfc4f5
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# You must build from the root repository directory, not the tests directory
# docker build -t geometry-zsh-5.0.0 -f tests/Dockerfile .
# docker run -it geometry-zsh-5.0.0
# export VERSION=5.7.1
# docker build -t geometry-zsh:$VERSION -e VERSION=$VERSION -f tests/Dockerfile .
# docker run -e COLUMNS=$COLUMNS -e LINES=$LINES -e TERM=$TERM -it geometry-zsh:$VERSION zsh

FROM zshusers/zsh:5.0.0
ARG VERSION=latest

FROM zshusers/zsh:$VERSION

RUN \
apt update && \
Expand All @@ -13,9 +16,10 @@ RUN locale-gen "en_US.UTF-8"

USER geometry
WORKDIR /home/geometry
ENV LANG=en_US.UTF-8
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV TERM=xterm-256color
ENV DEFUALT_USER=geometry
ENV DEFAULT_USER=geometry

COPY . geometry
COPY tests/zshrc .zshrc
Expand Down

0 comments on commit 3bfc4f5

Please sign in to comment.