Public | Automated Build

Last pushed: 2 years ago
# using phusion/baseimage as base image. FROM phusion/baseimage:0.9.9 # Set correct environment variables. ENV HOME /root # Regenerate SSH host keys. baseimage-docker does not contain any RUN /etc/my_init.d/ # Use baseimage-docker's init system. CMD ["/sbin/my_init"] # create code directory RUN mkdir -p /opt/code/ # install packages required to compile vala and radare2 RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y software-properties-common python-all-dev wget RUN apt-get install -y swig flex bison git gcc g++ make pkg-config glib-2.0 RUN apt-get install -y python-gobject-dev valgrind gdb ENV VALA_TAR vala-0.26.1 # compile vala RUN cd /opt/code && \ wget -c${VALA_TAR}.tar.xz && \ shasum ${VALA_TAR}.tar.xz | grep -q 0839891fa02ed2c96f0fa704ecff492ff9a9cd24 && \ tar -Jxf ${VALA_TAR}.tar.xz RUN cd /opt/code/${VALA_TAR}; ./configure --prefix=/usr ; make && make install # compile radare and bindings RUN cd /opt/code RUN git clone RUN cd radare2 #RUN sys/ #install Go ENV GOLANG_VERSION 1.7.1 ENV GOLANG_DOWNLOAD_URL$GOLANG_VERSION.linux-amd64.tar.gz ENV GOLANG_DOWNLOAD_SHA256 43ad621c9b014cde8db17393dc108378d37bc853aa351a6c74bf6432c1bbd182 RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \ && tar -C /usr/local -xzf golang.tar.gz \ && rm golang.tar.gz ENV GOPATH /go ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" WORKDIR $GOPATH COPY go-wrapper /usr/local/bin/ #debugging Go apps with dlv DWARF spec th eright way RUN go get # Clean up APT when done. RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* #RUN r2 -V
Source Repository