1 Star 0 Fork 0

Emergingtechnologies/gateway

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
Michael Stegeman 提交于 2019-08-30 01:34 +08:00 . Revive install.sh and Dockerfile. (#2120)
#!/bin/echo docker build . -f
# -*- coding: utf-8 -*-
#{
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/ .
#}
# WARNING: this docker file is *ONLY* for developer convenience
# WARNING: for production deployment please consider supported project:
# WARNING: https://github.com/mozilla-iot/gateway-docker
FROM debian:buster
LABEL maintainer="p.coval@samsung.com"
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL en_US.UTF-8
ENV LANG ${LC_ALL}
RUN echo "#log: Configuring locales and setting up system" \
&& set -x \
&& apt update \
&& apt install -y locales sudo \
&& echo "${LC_ALL} UTF-8" | tee /etc/locale.gen \
&& locale-gen ${LC_ALL} \
&& dpkg-reconfigure locales \
&& apt clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV project mozilla-iot
ADD . /root/mozilla-iot/gateway
WORKDIR /root/mozilla-iot/gateway/..
RUN echo "#log: ${project}: Preparing sources" \
&& set -x \
&& ./gateway/install.sh
EXPOSE 8080
WORKDIR /root/mozilla-iot/gateway
CMD [ "./run-app.sh" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/EmergingTechnologies/gateway.git
git@gitee.com:EmergingTechnologies/gateway.git
EmergingTechnologies
gateway
gateway
master

搜索帮助