mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-06 16:11:55 +00:00
update EasyBigdata since python3.5 has a bug in centos7
This commit is contained in:
parent
21384cb41b
commit
630280e880
@ -1,17 +1,23 @@
|
|||||||
FROM ubuntu:16.04
|
FROM alpine:3.7
|
||||||
|
|
||||||
MAINTAINER Newnius <newnius.cn@gmail.com>
|
MAINTAINER Newnius <newnius.cn@gmail.com>
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apt-get update -y && \
|
RUN apk update && \
|
||||||
apt-get install -y \
|
apk add \
|
||||||
make \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
|
bash \
|
||||||
|
make \
|
||||||
gcc \
|
gcc \
|
||||||
g++ \
|
g++ \
|
||||||
libsasl2-dev \
|
musl-dev \
|
||||||
libmysqlclient-dev
|
mariadb-dev \
|
||||||
|
cyrus-sasl \
|
||||||
|
cyrus-sasl-dev
|
||||||
|
|
||||||
|
RUN ln -s /usr/include/python3.6m /usr/include/python3.6
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
make apps
|
: ${BOOTSTRAP_DIR:=/bootstrap}
|
||||||
|
|
||||||
|
if [ -d "$BOOTSTRAP_DIR" ]; then
|
||||||
|
run-parts $BOOTSTRAP_DIR
|
||||||
|
fi
|
||||||
|
|
||||||
/var/www/html/build/env/bin/desktop runserver 0.0.0.0:8888
|
/var/www/html/build/env/bin/desktop runserver 0.0.0.0:8888
|
||||||
|
Loading…
Reference in New Issue
Block a user