FROM alpine:3.23

LABEL maintainer="Tosone <i@tosone.cn>"

RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && \
  apk add --no-cache bison bash build-base linux-headers \
  coreutils ca-certificates autoconf automake libtool cmake curl wget \
  tree vim git dialog less tzdata ncurses bind-tools && \
  rm -f /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

COPY .bashrc /root

WORKDIR /app

CMD bash
