forked from burmilla/os-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dapper
More file actions
31 lines (25 loc) · 832 Bytes
/
Dockerfile.dapper
File metadata and controls
31 lines (25 loc) · 832 Bytes
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
FROM ubuntu
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata && \
apt-get install -y build-essential wget libncurses5-dev unzip bc curl python3 file rsync ccache vim less cpio texinfo locales git
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV DAPPER_SOURCE /source
ENV DAPPER_OUTPUT ./dist
ENV SHELL /bin/bash
ENV ARTIFACTS /usr/src
WORKDIR ${DAPPER_SOURCE}
ENV VERSION 2022.02.3
ENV TARBALL ${VERSION}.tar.gz
RUN cd ${ARTIFACTS} && \
wget https://github.com/buildroot/buildroot/archive/$TARBALL
ARG DAPPER_HOST_ARCH=amd64
ARG HOST_ARCH=${DAPPER_HOST_ARCH}
ARG ARCH=${HOST_ARCH}
ARG RELEASE_VERSION
ENV RELEASE_VERSION=${RELEASE_VERSION}
ENV ARCH=${ARCH}
ENV HOST_ARCH=${HOST_ARCH}
ENV FORCE_UNSAFE_CONFIGURE=1
ENTRYPOINT ["./scripts/entry"]
CMD ["ci"]