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 \ libz3-dev libncurses5-dev pkg-config libusb-1.0-0-dev \ 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 env FA_CHIPSET imx6s env FA_PRODUCT prime_oven 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 env PATH $PATH:${BR_TOOLCHAIN_PATH}/usr/bin env WORK_LD_LIBRARY_PATH ${BR_TOOLCHAIN_PATH}/usr/lib WORKDIR /work