forked from usbarmory/usbarmory-debian-base_image
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (16 loc) · 766 Bytes
/
Dockerfile
File metadata and controls
20 lines (16 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM debian:10
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
bc binfmt-support bzip2 fakeroot gcc gcc-arm-linux-gnueabihf \
git gnupg make parted qemu-user-static wget xz-utils zip \
debootstrap sudo dirmngr bison flex libssl-dev kmod udev cpio
# install golang
ARG GOLANG_TARBALL=go1.13.6.linux-amd64.tar.gz
RUN wget https://dl.google.com/go/$GOLANG_TARBALL
RUN echo a1bc06deb070155c4f67c579f896a45eeda5a8fa54f35ba233304074c4abbbbd $GOLANG_TARBALL | sha256sum -c
RUN tar -C /usr/local -xzf $GOLANG_TARBALL
RUN rm $GOLANG_TARBALL
ENV PATH "$PATH:/usr/local/go/bin"
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 38DBBDC86092693E \
&& gpg --keyserver hkp://keys.gnupg.net --recv-keys 87F9F635D31D7652
WORKDIR /opt/armory