Blame view

docker/Dockerfile 1 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  FROM ubuntu:16.04
  
  RUN locale-gen ko_KR.UTF-8
  
  ENV LANG ko_KR.UTF-8
  ENV LC_ALL ko_KR.UTF-8
  
  RUN sed -ri 's/\/archive\.ubuntu\.com/\/kr\.archive\.ubuntu\.com/g' /etc/apt/sources.list
  
  RUN \
      apt-get update && \
      apt-get -y install \
          curl sudo \
          git-core build-essential gcc-arm-none-eabi libssl-dev \
          sed binutils patch gzip bzip2 perl tar cpio python unzip rsync wget \
c004dc86f   김민수   libusb 추가 및 path ...
16
          libz3-dev libncurses5-dev pkg-config libusb-1.0-0-dev \
6b13f685e   김민수   BSP 최초 추가
17
18
19
20
21
22
23
24
25
26
27
          bc lzop u-boot-tools vim flex bison \
          && \
      rm -rf /var/lib/apt/lists/*
  
  CMD ["/bin/bash"]
  
  ADD toolchain/arm-buildroot-linux-gnueabihf-4.9.3.tar.gz /opt
  
  env WORK_TOP_PATH /work
  
  env FA_COMPANY falinux
2a3257134   김민수   네이밍 정리
28
29
  env FA_CHIPSET imx6s
  env FA_PRODUCT prime_oven
6b13f685e   김민수   BSP 최초 추가
30
31
32
33
34
35
  
  env BR_TOOLCHAIN_PREFIX arm-buildroot-linux-gnueabihf
  env BR_TOOLCHAIN_PATH /opt/toolchain/${FA_CHIPSET}/${FA_PRODUCT}
  
  env CROSS_COMPILE ${BR_TOOLCHAIN_PREFIX}-
  env ARCH arm
c004dc86f   김민수   libusb 추가 및 path ...
36
  env PATH $PATH:${BR_TOOLCHAIN_PATH}/usr/bin
6b13f685e   김민수   BSP 최초 추가
37
38
39
  env WORK_LD_LIBRARY_PATH ${BR_TOOLCHAIN_PATH}/usr/lib
  
  WORKDIR /work