-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathContainerfile
More file actions
52 lines (39 loc) · 1.51 KB
/
Copy pathContainerfile
File metadata and controls
52 lines (39 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM ubuntu:24.04
LABEL maintainer="rob@rwx.gg"
LABEL io.k8s.description="Linux Beginner Boost Container (made with ❤️ by rwxrob)"
LABEL org.opencontainers.image.source="https://github.com/rwxrob/boost"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates curl locales \
&& update-ca-certificates && locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8 \
TAR_OPTIONS="--no-same-owner --no-same-permissions"
RUN ls -l /etc/ssl/certs/ca-certificates.crt \
&& grep -c 'END CERTIFICATE' /etc/ssl/certs/ca-certificates.crt || true
RUN apt-get install -yq --no-install-recommends \
ssh git ed nvi vim nano sudo man jq yq less \
shfmt shellcheck nodejs npm pandoc w3m lynx entr pip \
bash-completion gpg nmap tree tmux screen \
make uidmap ruby python3 python-is-python3 \
perl libcurses-perl build-essential \
libncurses-dev autoconf fio sqlite3 \
apt-transport-https \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN cpan -T -I Term::Animation
COPY . /
RUN echo "ubuntu:password" | chpasswd
RUN chown -R ubuntu:ubuntu /home/ubuntu
USER ubuntu
WORKDIR /home/ubuntu
ENV PATH="/home/ubuntu/.local/bin:/home/ubuntu/.local/go/bin:$PATH"
ENV GOBIN="/home/ubuntu/.local/bin"
ENV GOPATH="/home/ubuntu/.local/share"
ENV GOPROXY="direct"
RUN install-gh
RUN install-go
RUN install-neo
RUN install-yq
RUN go install github.com/rwxrob/bonzai/cmds/sunrise/cmd/sunrise@latest
#RUN vim --headless +PlugInstall +qall