forked from JasonGiedymin/container-ddg-hack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (29 loc) · 959 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ------------------------------------------------------
# Dockerfile
# ------------------------------------------------------
# image: docker-ddg-hack
# tag: latest
# name: amuxbit/docker-ddg-hack
# version: 1.0.0
# repo: https://github.com/amuxbit/docker-ddg-hack
# how-to: docker build --force-rm -t amuxbit/docker-ddg-hack .
# run: docker run -t -i amuxbit/docker-ddg-hack"
# requires: ubuntu
# authors: [email protected]
# ------------------------------------------------------
FROM amuxbit/docker-perl:latest
MAINTAINER amuxbit
# -----> Env
ENV WORKDIR /tmp/build/docker-perl
WORKDIR /tmp/build/docker-perl
# -----> Add assets
ADD ./ubuntu $WORKDIR/ubuntu
# -----> Prepare
RUN chmod +x $WORKDIR/ubuntu
# -----> Lib
# RUN git clone https://github.com/Amuxbit/container-automation-lib.git lib
RUN cd lib && git pull origin master
# -----> Execute
RUN $WORKDIR/ubuntu
# -----> Cleanup
WORKDIR /