Skip to content

Commit 48afc6f

Browse files
author
Matthew Fisher
committed
Merge pull request #1859 from bacongobbler/builder-refactor
ref(builder): replace python with bash
2 parents 97d5916 + a2f1475 commit 48afc6f

4 files changed

Lines changed: 214 additions & 187 deletions

File tree

builder/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ RUN apt-get update && apt-get install -yq \
2323
aufs-tools iptables lxc \
2424
lxc-docker-1.2.0
2525

26+
# install jq for parsing json
27+
RUN curl http://stedolan.github.io/jq/download/linux64/jq > /usr/bin/jq && chmod 755 /usr/bin/jq
28+
2629
# configure ssh server
2730
RUN rm /etc/ssh/ssh_host_*
2831
RUN dpkg-reconfigure openssh-server
@@ -60,9 +63,9 @@ WORKDIR /app
6063
ENTRYPOINT ["/app/bin/entry"]
6164
CMD ["/app/bin/boot"]
6265
EXPOSE 22
63-
6466
RUN addgroup --quiet --gid 2000 slug && useradd slug --uid=2000 --gid=2000
6567

68+
ADD templates/shim.dockerfile /home/git/
6669
ADD . /app
6770
ADD sshd_config /etc/ssh/sshd_config
6871
RUN chown -R root:root /app

0 commit comments

Comments
 (0)