Skip to content

Commit

Permalink
Add Dockerfile for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Haris Gušić <[email protected]>
  • Loading branch information
veracioux committed Nov 29, 2021
1 parent 31f8d8d commit 35acb5b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM alpine:3.14.3

# Install dependencies
# NOTE: GNU sed is required by make install
RUN apk add --no-cache make git bash sed

WORKDIR /collection

RUN adduser -D user && chown -R user .
USER user
RUN git clone "https://github.com/veracioux/tuterm-collection" /collection

WORKDIR /app

# Install tuterm
USER root
COPY . .
RUN make install PREFIX=/usr

WORKDIR /collection

USER user
CMD sh

0 comments on commit 35acb5b

Please sign in to comment.