Skip to content

Commit

Permalink
feat(docker): add docker framework configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
kuwas committed Dec 10, 2019
1 parent 8a6ee4a commit 94ad1d5
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 0 deletions.
Empty file added src/cli/.gitkeep
Empty file.
23 changes: 23 additions & 0 deletions src/cores/3.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#####
FROM alpine:3.10
MAINTAINER "kuwas"

# environment #
ENV PATH "/app/bin:$PATH"

# setup #
RUN mkdir -p \
"/app/bin" \
"/app/com" \
"/app/etc" \
"/app/share" \
"/app/var" \
;
RUN addgroup -S "app" ;
RUN adduser -SH -s "/bin/sh" -h "/app" -G "app" "app" ;
RUN chown -R "app:app" "/app" ;
# USER app
WORKDIR "/app"

# start #
ENTRYPOINT [ "/bin/sh" ]
12 changes: 12 additions & 0 deletions src/cores/bash/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#####
FROM kuwas/alpine:latest
MAINTAINER "kuwas"

# environment #
RUN apk add --update \
"bash" \
;
RUN rm -rf /var/cache/apk/* ;

# start #
ENTRYPOINT [ "/bin/bash" ]
1 change: 1 addition & 0 deletions src/cores/latest
24 changes: 24 additions & 0 deletions src/cores/tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#####
FROM kuwas/alpine:bash
MAINTAINER "kuwas"

# environment #
RUN apk add --update \
"busybox" \
"busybox-extras" \
"curl" \
"git" \
"htop" \
"openssh-client" \
"openssl" \
"rsync" \
"sudo" \
"tar" \
"tcpdump" \
"tmux" \
"wget" \
;
RUN rm -rf /var/cache/apk/* ;

# start #
ENTRYPOINT [ "/bin/bash" ]
Empty file added src/runtimes/.gitkeep
Empty file.
Empty file added src/servers/.gitkeep
Empty file.
Empty file added src/tools/.gitkeep
Empty file.

0 comments on commit 94ad1d5

Please sign in to comment.