From 69b5bd9a81a04e0d9327fa2816d0a64df16c48c8 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 29 Aug 2016 12:45:08 -0400 Subject: [PATCH] More gooping around with lcthw --- lcthw-remnants-2/Dockerfile | 10 ++++++++-- lcthw-remnants-2/Makefile | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lcthw-remnants-2/Dockerfile b/lcthw-remnants-2/Dockerfile index 7e4b38c..0ccf6c0 100644 --- a/lcthw-remnants-2/Dockerfile +++ b/lcthw-remnants-2/Dockerfile @@ -2,8 +2,10 @@ FROM ubuntu:xenial ENV DEBIAN_FRONTEND noninteractive +WORKDIR /app + RUN apt-get update -yq -RUN apt-get install -yq \ +RUN apt-get install -yq --no-install-recommends --no-install-suggests \ build-essential \ curl \ file \ @@ -11,4 +13,8 @@ RUN apt-get install -yq \ git \ man \ sudo \ - vim-tiny + vim-tiny \ + zsh +RUN echo "kernel.yama.ptrace_scope = 0" > /etc/sysctl.d/10-ptrace.conf + +CMD ["zsh", "-l"] diff --git a/lcthw-remnants-2/Makefile b/lcthw-remnants-2/Makefile index aa99152..b9b8c93 100644 --- a/lcthw-remnants-2/Makefile +++ b/lcthw-remnants-2/Makefile @@ -26,4 +26,4 @@ docker-image: .PHONY: docker-run docker-run: - docker run -it -v $(PWD):/app meatballhat/lcthw:latest bash -l + docker run -it -v $(PWD):/app meatballhat/lcthw