File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM iancolwell/xenial_user
2+
3+ USER root
4+
5+ ENV DEBIAN_FRONTEND noninteractive
6+ ENV TERM xterm
7+
8+ # RUN echo "resolvconf resolvconf/linkify-resolvconf boolean false" | debconf-set-selections
9+ # RUN apt-get update && apt-get install -y ubuntu-minimal ubuntu-standard ubuntu-desktop
10+
11+ RUN apt-get update && apt-get install -y \
12+ debconf-utils \
13+ software-properties-common
14+
15+ RUN echo "mysql-server mysql-server/root_password password LocalPPUpw" | debconf-set-selections
16+ RUN echo "mysql-server mysql-server/root_password_again password LocalPPUpw" | debconf-set-selections
17+
18+ RUN apt-get install -y mysql-server mysql-client libmysqlclient-dev python-mysqldb python-pip
19+
20+ RUN apt-get -y upgrade
21+
22+ USER user
23+
24+ CMD
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4+
5+ cd " $SCRIPT_DIR "
6+
7+ docker build -t iancolwell/xenial_django_ci:latest .
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4+
5+ cd " $SCRIPT_DIR "
6+
7+ docker tag xenial_user iancolwell/xenial_desktop
8+ docker push iancolwell/xenial_desktop
You can’t perform that action at this time.
0 commit comments