Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Dockerfile #1632

Merged
merged 1 commit into from
Apr 29, 2017
Merged
Show file tree
Hide file tree
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
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ MAINTAINER Thomas Boerger <[email protected]>

EXPOSE 22 3000

RUN apk update && \
apk add \
RUN apk -U --no-cache add \
su-exec \
ca-certificates \
sqlite \
Expand All @@ -14,10 +13,8 @@ RUN apk update && \
s6 \
curl \
openssh \
tzdata && \
rm -rf \
/var/cache/apk/* && \
addgroup \
tzdata
RUN addgroup \
-S -g 1000 \
git && \
adduser \
Expand Down
9 changes: 3 additions & 6 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ FROM aarch64/alpine:3.5

EXPOSE 22 3000

RUN apk update && \
apk add \
RUN apk -U --no-cache add \
su-exec \
ca-certificates \
sqlite \
Expand All @@ -13,10 +12,8 @@ RUN apk update && \
s6 \
curl \
openssh \
tzdata && \
rm -rf \
/var/cache/apk/* && \
addgroup \
tzdata
RUN addgroup \
-S -g 1000 \
git && \
adduser \
Expand Down
9 changes: 3 additions & 6 deletions Dockerfile.rpi
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ MAINTAINER Thomas Boerger <[email protected]>

EXPOSE 22 3000

RUN apk update && \
apk add \
RUN apk -U --no-cache add \
su-exec \
ca-certificates \
sqlite \
Expand All @@ -14,10 +13,8 @@ RUN apk update && \
s6 \
curl \
openssh \
tzdata && \
rm -rf \
/var/cache/apk/* && \
addgroup \
tzdata
RUN addgroup
-S -g 1000 \
git && \
adduser \
Expand Down