Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

adding Dockerfile to build inside docker #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:latest
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y vim
RUN apt-get install -y zip
RUN apt-get install -y ssh
RUN apt-get install -y npm
WORKDIR /app
COPY . .
# you can use it with:
# docker build . -t cloudfront-auth && docker run -it cloudfront-auth
# then, copy the zip file with:
# docker cp <docker-id>:/app/distributions/<distribution-id> .
Copy link

@bsneider bsneider Sep 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could use more docs on the cli commands also the chosen base image requires significant install time of rpm, perhaps a node base image would be most suitable as seen in #84