-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (23 loc) · 1.09 KB
/
Dockerfile
File metadata and controls
33 lines (23 loc) · 1.09 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
# syntax=docker/dockerfile:1
FROM debian:trixie
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get update && \
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y \
ack apt-utils apt-transport-https autoconf bc bison build-essential \
busybox ca-certificates ccache cmake cpio curl dialog file flex \
gawk git golang-go libncurses-dev locales lzop \
m4 mc nano perl python3 python3-jinja2 python3-jsonschema python3-yaml \
rsync ssh sudo toilet u-boot-tools unzip vim wget whiptail
#fknano
RUN update-alternatives --install /usr/bin/editor editor /usr/bin/vim 1 && \
update-alternatives --set editor /usr/bin/vim && \
update-alternatives --install /usr/bin/vi vi /usr/bin/vim 1 && \
update-alternatives --set vi /usr/bin/vim
RUN update-ca-certificates
RUN locale-gen --no-purge en_US.UTF-8
RUN useradd -rm -d /home/me -s /bin/bash -g root -G sudo -u 1000 me --no-log-init
RUN echo 'me:me' | chpasswd
USER me
ENV BR2_DL_DIR=/home/me/downloads
WORKDIR /home/me/thingino
RUN git config --global --add safe.directory /home/me/thingino
RUN git config --global alias.up 'pull --rebase --autostash'