-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEXAMPLES_E5.txt
1601 lines (1294 loc) · 43.1 KB
/
EXAMPLES_E5.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
FROM ubuntu-trusty-
community
#RUN sudo sh -c 'echo "deb http://apt.mozilla.org/ precise-updates main" >>
/etc/apt/sources.list.d/mongodb-org-3.4.list'
RUN echo "deb http://download.mono-project.com/repo/debian stretch main" |
tee -a /etc/apt/sources.list.d/mono-xamarin.list
RUN apt-get update && apt-get install -y mono-devel mysql-client
RUN apt-get install -y mongodb mysql-client
##
# Add the default ssh config.
##########################
# Add scripts
COPY bin/*.sh /etc/my_init.d/01_configure_systemd.sh
# Add config files
ADD root/ /
# Don't run without running the container.
USER container
# Expose the ports
EXPOSE 22 5222
# Expose ports.
EXPOSE 80
EXPOSE 80
# Expose port 5050 for the command
EXPOSE 5000
# Expose port 9091 (for the ports)
EXPOSE 80
# Expose port 80 for the admin
EXPOSE 8080
# Start the default config
COPY scripts/start_scrapyd.sh /etc/service/scheduler/run
EXPOSE 1080 9443
CMD ["/usr/sbin/sshd", "-D"]
FROM alpine:edge
RUN echo "http://nl.alpinelinux.org/alpine/edge/testing" >>
/etc/apk/repositories &&\
echo "@addons on;" > /etc/apk/repositories
RUN apk update \
&& apk add --update --no-cache --virtual=.build-deps git \
&& apk add --update -t build-deps \--no-cache --virtual .build-deps \
curl \
git \
gcc \
g++ \
libc-dev \
make \
python \
# Install protobuf components
ca-certificates \
# Installing template dependencies
python \
## Copy package
&& pip --no-cache-dir install \
\--upgrade pip \
# python packages
\
# Install supervisor
# install packages
postgresql-client-9.5 \
postgresql-server-dev-9.6 \
postgresql-client \
postgresql-client \
sqlite \
\--repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
\--no-cache \
&& pip install --upgrade pip \
&& apk --purge del py2-pip \
&& rm /var/cache/apk/*
RUN pip install --no-cache-dir --upgrade pip \
&& pip install \
pipenv \
pip \
python-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu
ENV ANT_HOME /usr/share/applications/android-sdk_latest_android
ENV PATH
$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH
ENV ANDROID_HOME /usr/local/android-sdk-linux
ENV PATH $PATH:$ANDROID_HOME/tools
ENV PATH $PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
# Install sdk tools
RUN mkdir -p /usr/local/android-sdk-linux/
ADD https://dl.google.com/android/repository/sdk-tools-
linux-3859397.zip /usr/local/sdk.zip
RUN unzip /usr/local/sdk.zip -d /usr/local/ && rm target.zip
ENV PATH $PATH:$ANDROID_HOME/tools
# Install android sdk
# RUN android update sdk --no-ui --all --filter
platform-tools,android-24,android-23,android-26,android-21
RUN sdkmanager "build-tools;24.0.1"
RUN sdkmanager "extras;android;m2repository"
RUN sdkmanager "platforms;android-26"
RUN sdkmanager "platforms;android-23"
RUN sdkmanager "platforms;android-25"
# RUN sdkmanager "build-tools;24.0.2"
## RUN sdkmanager "platforms;android-27"
### Apache-Software
RUN sudo apt-get install -y oracle-java8-installer
#RUN sudo apt-get install -y ant
#RUN add-apt-repository ppa:webupd8team/java && apt-get update && apt-get
install -y oracle-java7-set-default
#RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee
/etc/apt/sources.list.d/webupd8team-java.list
#RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E56151BF
RUN apt-get update
RUN apt-get install -y oracle-java8-installer
# Install Java 8 (show in a license to run)
RUN apt-get install -y oracle-java8-installer
# install Java
RUN apt-get update
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-
selections
RUN apt-get update && apt-get install -y \
ant \
wget \
ca-certificates \
curl
RUN curl --silent --show-error https://repo.jenkins-ci.org/releases/org/jenkins-
ci/plugins/swarm-client/${SWARM_VERSION}/swarm-
client-${SWARM_VERSION}-bin.zip | gpg --import | grep -ov 'spark-ser
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu
RUN curl -o- -L -o /tmp/libcrypto.so.1.0.0 https://github.com/linux/debian
FROM dockerfile/nodejs
MAINTAINER Matthew Bullstanger <matt.moner@gmail.com>
# Install python 3
RUN apt-get update \
&& apt-get install -y \
graphviz \
libssl-dev \
libssl-dev \
libxml2-dev \
libxslt-dev \
libffi-dev \
libssl-dev \
libcurl4-openssl-dev \
libpq-dev \
libxml2-dev \
libxslt1-dev \
python-pip \
python-dev \
python-numpy \
python-pip
# Install python packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
&& apt-get clean
RUN git clone \--depth 1 https://github.com/creationix/nvm.git
/usr/local/nvm \
&& cd /usr/local/nvm \
&& git checkout $VERSION \
&& ./configure && make install \
&& cd .. && rm -fr video_$VERSION_VERSION \
&& ln -s ../../varnish-$VERSION varnish && ln -s varnish-$VERSION /var/log
# Add and install php
# RUN curl -sS https://getcomposer.org/installer | php -- --install-
dir=/usr/local/bin --filename=composer
# RUN pip install --upgrade pip
#RUN pip install setuptools
# RUN pip install --no-cache-dir -U pip setuptools
# RUN conda install -c conda-forge conda
RUN conda install --yes conda
RUN conda clean --tarballs
# Copy our configuration file
COPY root/. /
# Define default command.
CMD ["bash"]
FROM networking/debian:jessie
MAINTAINER Michael Silla <mike@isino.com>
ADD ./config.json /opt/secrets/package.json
ADD config.txt /opt/server/requirements.txt
RUN apk add \--update git build-base && rm /var/cache/apk/*
RUN pip install --no-cache-dir --upgrade pandas \
pytest-tools \
pillow \
pytest
RUN groupadd -r postgres && useradd -r -g postgres postgres \
&& usermod -aG docker postgres \
&& mkdir /etc/service/postgresql \
&& mkdir /etc/service/postgresql \
&& ln -sf /dev/stdout /var/log/postgresql/data/sqlite3.log \
&& ln -sf /dev/stdout /var/log/postgresql/9.6/main/pg_hba.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu
RUN sudo add-apt-repository -y ppa:openjdk-r/ppa \
&& apt-get update \
&& apt-get install -qqy \
openjdk-8-jdk \
&& apt-get autoremove -y \
&& apt-get clean -yqq \
&& apt-get autoclean -y \
&& apt-get autoclean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
# Add the locale archive to install and extract openshift/bin
RUN add-apt-repository ppa:geoserver/perforce && \
apt-get -y update && \
apt-get -yq install postgresql-client && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /usr/share/man/?? && \
rm -rf /usr/share/man/??_*
# Download packages
RUN mkdir /packer-env && \
cd /packer-deploy && \
git clone https://github.com/dependencies/pop-docs/get-pip.py && \
git clone https://github.com/pyopensource/postgres.git && \
cd popper && \
git checkout $GOPATH/src/github.com/docker/postgres/build/postgresql.sh
EXPOSE 9443
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["postgres"]
FROM phusion/baseimage:0.9.16
MAINTAINER Docker Education Team <education@docker.com>
# Enable ENV variables
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y -qq && apt-get update && apt-get install -y wget
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
RUN apt-get install -y nodejs
# Copy application.
COPY . /app
# Copy the current directory contents into the container at /app
ADD . /app
# Install app dependencies
RUN npm install --production
# Copy the current directory contents into the container at /app
ADD . /app
# Install app dependencies
COPY package.json /app/package.json
# Install app dependencies
RUN npm install
# Bundle app source
COPY . /app
EXPOSE 80
EXPOSE 8080
ENV PORT 80
CMD npm start
FROM debian:stretch
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
build-essential \
build-essential \
curl \
gnupg2 \
libcurl4-openssl-dev \
python-pip \
python-pip \
python-nump
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu-16.04 \
\--no-deps: --auto-install-recommends \
\--no-install-recommends && apt-get clean all
#install python-dev
RUN pip install --upgrade --no-cache-dir pytz
python-docutils sphinx python-dev libxslt-dev
FROM alexardev/php-fpm:latest
MAINTAINER John Kang <jharnyson@gmail.com>
ENV STREAM_VERSION=1.0.2 \
STORAGE_DATA /data
# Install app dependencies
COPY package.json /tmp
RUN cd /tmp && npm install
WORKDIR /tmp
RUN npm cache clean
RUN mkdir -p /tmp/node_modules
WORKDIR /tmp/node_modules
ADD package.json /opt/npm-shrinkwrap.json
# Install the required packages
RUN npm install --production
# Set environment variables
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_ENV production
# Run app.py when the container launches
CMD ["python", "app.py"]
FROM debian:jessie
MAINTAINER Jason Wilder mail@jasonwilder.com
# Install wget
RUN apt-get update && \
apt-get install -y -f --no-install-recommends \
wget \
build-essential \
curl \
git \
git \
make \
python \
python-dev \
python3-pip \
&& \
pip3 install --no-cache-dir conda==1.10.2 && \
pip3 install --no-cache-dir \
collection==3.2.0 \
collector==2.11.1 \
collectd_console && \
apt-get -y autoclean && \
apt-get clean -y && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install compilation and clean up
RUN rm -rf /var/lib/{apt,dpkg,cache,log}/
# Installing conf
RUN mkdir -p /var/log/collectd && chown -R collectd:contrib /data /var/lib/collectd
/var/lib/collectd/data
RUN mkdir /opt/config
RUN cp /root/config/config/plugins/ /var/lib/collectd/config
RUN cp -rf /opt/collectd/etc/conf/playbooks.conf /etc/collectd/
RUN chmod 660 /opt/config/config.d/
# SSH ports
EXPOSE 22 80
ENTRYPOINT ["/usr/sbin/confd"]
CMD ["/etc/init.d/consul-template"]
# DOCKER-VERSION 1.0.0
FROM ubuntu:14.04.4
MAINTAINER Jan Hanning <james.jarsky@gmail.com>
# Update the Python a
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu-trusty
# Setup apt-get installed
RUN sed -i -e 's/# en_AU.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
# Download and extract the sample and install the appending the cache
RUN \
cd /tmp && \
wget
https://github.com/apache/sabnzbd/releases/download/v2.1.1/samba-0.9.2.tar.gz &&
\
tar xzf samba-0.2.0.tgz && \
rm -f sample-statsd-1.2.10.tar.gz && \
cd samba-stable-2.1.1 && \
./autogen.sh && ./configure --with-config-file-path=/usr && \
make && make install && \
rm -rf samtools-1.2.1 && \
rm -Rf samtools-1.2.tar.gz samtools-1.3.2 && \
apk del build-deps && \
rm -rf /var/cache/apk/* && \
apk add --no-cache --virtual=build-dependencies \
bash \
git \
ca-certificates \
libstdc++ \
geoip \
libxml2 \
libxslt \
mosquitto \
python && \
pip install --upgrade pip && \
pip install pystop
# Set default user
RUN useradd -m -d /home -s /bin/bash portal && mkdir /policy ; \
chown -R oodie /opt/portal &&\
echo "oodca:x:$PASS" | chpasswd &&\
echo -e "\nPasswordAuthentication no\n\n\n" | chpasswd &&\
echo -e "\n\n\n\n" > /root/.bashrc &&\
echo "su - polymer-editor-manager -c 'sudo chmod -R 777 /home/pandoc/pandoc-
agent/storage-schemas.sh;'; \
echo '# Create the log file,' >> /etc/bashrc &&\
echo 'exec /bin/bash \"\n\
' >> /home/polygons/stop.sh; \
echo 'cat polymer-cli-setup.sh' >> /root/.bashrc;\
echo 'chown -R plone:python /home/polymer-models/.python3-default/pyenv/presto-
server/* /home/polymer/bin/python-site.xml;'; \
echo ' "$@ --setup "python"; \
echo "set -x \\[\\\\\\\\\"\\[\${#";\
echo " \
"# container_scripts folder for the project for container in open
\
\
# export PYTHONIOENCODING=UTF-8 \
# ------------------------- #
# Class from https://hub.docker.com/_/data/tracking/python2/
# -- installing the latest dependencies
\--enable-pangostore \
# --default-toolchain node-l
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu-cloud-
manager-1.1.1
RUN mkdir ~/.config/manifests && chown -R mysql:mysql
/var/lib/mysql
# Define commonly used JAVA_HOME variable
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
# Install Java 8
RUN apt-get update && \
apt-get install -y \--no-install-recommends oracle-java8-installer && \
apt-get install -y --no-install-recommends openjdk-8-jdk && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Define working directory.
WORKDIR $HOME
# Default command
CMD ["java", "-jar", "/opt/jenkins-swarm-jmeter-0.122.jar"]
FROM phusion/baseimage
MAINTAINER Dongjoon Hardman <manuel.mines@gmail.com>
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
alsa-utils \
ca-certificates \
curl \
gcc \
make \
git \
libgmp3-dev \
&& rm -rf /var/lib/apt/lists/* \
&& wget https://github.com/silinternational/syslog/archive/master.zip \
&& unzip sync.zip \
&& mv synapse-syntax /system \
&& rm -rf /syncthing-repository
# Install required scripts
RUN apt-get install -y ssmtp \
&& echo "root:root" | chpasswd \
&& mkdir /var/run/sshd; \
rm -rf /var/lib/apt/lists/*; \
rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_rsa_key && \
ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t rsa && \
ssh-keygen -A && \
echo "ssh-keygen -t dsa -f /etc/ssh/ssh_host_rsa_key -N "" >> /etc/ssh/ssh_config && \
chmod 700 /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key && \
ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key && \
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key && \
service sshd start && \
su - setup -d /root/ssh
COPY ./rootfs/ /
RUN mkdir -p $APP_HOME/src $SOURCE /var/log/ssh /var/log/supervisor; \
chown -R $SOURCE_USER:users $APP_DIR $APP_DIR /var/lib/socket /home/$SOURCE_USER &&\
chown $SOURCE_USER:$POSTGRES_USER -R /home/user \
&& mkdir $SOURCE_DIR \
&& chown user $APP_SERVICE_ASS \
&& chown -R $SUPERVISOR_USER:$APP_USER $SOURCE_DIR \
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu trusty models
# Setup all the projects
RUN sed -i \
-e 's/^#\s*\\(.*\\)/\1/g' \
-e 's/^# \\(\\(backup \\)\\)$/# \1/' \
-e '/^\s*\\(.*\\)\\)\\+$/\1\n/g' \
-e 's/;\\(logfile \\).*$/\1 = '$PORT/g' \
-e 's/^#\(\\(subserver\\).*\\)$/#\1 /usr/local/go/src/github.com/seanier/dependencies.config
## /usr/lib/ruby/gems/$SUNFO_VER/debian/ssl/ -- any in the
container.
# \- --no-check-certificate --filename=sshd --allow-root --no-dev \
# -proxy -t 000 -p 32708:32302 -p 1224:1027 -p 8080:80 -p 4000:8000 \
# --name supervisor \
# --name supervisor \
# sudo docker run -d -p 9999:8090 -p 3333:32 --name shadowsocks -p
8080:80 -p 5001:5000 ssh security_data_setup
FROM ubuntu:16.04
MAINTAINER David Bares <david.dandar@gmail.com>
# Set environment variables
# Allow root user to set user/group ID we use it
ENV USER_NAME="root" \
USER="admin" \
USER_ID="1000" \
USER_ID="200"
# Add application source
ADD . /home/role/repos
# Add application sources
ADD . /home/root/src/
# Install any packages into the container
RUN npm i -g bower
# Add too to to be able to copy the app
ADD . /harvester
# Install app dependencies
RUN npm install && npm cache clean
# Install dependencies
RUN npm install -g grunt-cli
EXPOSE 8000
CMD ["bundle", "exec", "ruby", "src/app.js"]
# Dockerfile for batinal image
FROM node:8-onbuild
RUN npm install -g grunt-cli
# RUN git clone https://github.com/matrix-dev/main.git /app/management
#RUN pip install --upgrade pip
RUN pip install pipenv
RUN pip --no-cache-dir install \
bash \
pytest \
pymark \
pymodule \
requests \
scipy \
scikit-learn \
sklearn \
seaborn
# Install pip
RUN apt-get update && \
apt-get install -y python-pip && \
pip2 install --upgrade pip && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
# Create a code to test the somewhere set to the configs to code
# cache image, see a login and set the designate script to run
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu-16.04
\--no-check-certificate --no-cookies \
\--header "Cookie: oraclelicense=accept-securebackup-cookie;" \
"http://download.oracle.com/otn-
pub/java/jdk/${JAVA_VERSION}u${JAVA_UPDATE_VERSION_MINOR}-linux-x64.tar.gz" \
| tar -xz \--strip-components=1 \
&& apt-get remove --purge -y ${BUILD_DEPS} \
&& apt-get install -y --no-install-recommends \
ca-certificates \
git \
musl \
libgmp-dev \
&& apt-get clean autoclean \
&& apt-get autoremove --purge -y \
&& apt-get autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
/usr/share/man/??*
# Install supervisor
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Copy over the system for the inside the entrypoint script
COPY rootfs /
CMD ["/sbin/my_init"]
FROM ubuntu:latest
# install packages
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
locales \
python2.7 \
python3 \
python3-setuptools \
python3-pip \
python3-pip \
&& pip3 install --upgrade pip \
&& pip3 install --upgrade pip pandas sphinx setuptools pyasn1 \
&& pip3 install scipy \
&& pip3 install --upgrade pillow \
&& pip3 install python-mysqldb \
&& pip3 install --upgrade awscli
# Add an initialization scripts
ADD install /tmp/install_init
RUN chmod +x /usr/local/bin/install_init_strup.sh && \
ln -s /tmp/install_install_dirs.sh /usr/local/bin/install_install.sh && \
apt-get install -y \
cron \
git-core && \
rm -rf /var/lib/apt/lists/*
# Add cas configuration
RUN mkdir -p /etc/cassandra/cassandra.conf /etc/cassandra
RUN chown -R sass:cassandra /etc/supervisor
ADD ./cassandra-docker /etc/cassandra/cassandra-agent
ADD startup_status.sh /startup_scheduler.sh
ADD script/create_server.py /startup_tomcat.sh
ADD ./start.sh /start.sh
RUN chmod 755 /start.sh
# Set up docker right setup script
ADD start.sh /start.sh
ENTRYPOINT ["/start.sh"]
# Start the service
CMD ["start-app.sh"]
FROM php:7-apache-stabl
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu && \
echo -e "\n#"\n\
\\n\
\n\
\n\
defconfig="false";' > /etc/machine-id \
; \
echo "command=/bin/bash" > /etc/bash.bashrc \
&& chmod +x /etc/cont-init.d/forever \
# Don't use a new user for the application
# && usermod -u 99 force \
# && mkdir -p /home/appuser \
# && chown -R app:app /home/app
# RUN sudo -u fortune -a -c "git clone
https://github.com/foundation/fabio-clean-server-alignment.git /opt/fabric8-
patterns/ansible-plugins-proxy"
# Install python dependencies
RUN apt-get update -qy && \
apt-get -y install \
git \
curl \
python-pip \
python-pip \
sqlite3 \
swig \
libsqlite3-dev \
libglib2.0-0 \
libpng12-dev \
python-dev \
python-dev \
python-pip \
python-pip \
python-numpy \
python-dev
# Clean
RUN rm -rf /tmp/* /var/tmp/* /root/* /var/lib/apt/lists/*
# Install packages
RUN apt-get install -y --no-install-recommends \
git \
libcurl4-openssl-dev \
libfreetype6-dev \
libpng12-dev
# Install PHP
RUN docker-php-ext-install gd mbstring
# Copy composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-
dir=/usr/local/bin --filename=composer
RUN php /var/www/html/index.php --version
WORKDIR /var/www/html
# Copy custom config
COPY conf/php.ini /usr/local/etc/php/
#Copy proxy_config file
COPY php_conf.php /etc/php.ini
# Expose ports.
EXPOSE 80
# Entrypoint
ENTRYPOINT ["/usr/local/bin/php", "app.js"]
# Expose the port
EXPOSE 80
# Configure alias postgres
COPY config/php.ini /usr/local/etc/php/
# COPY config/php.ini /usr/local/etc/php/
# Expose ports
EXPOSE 9000
# Clean up APT when done.
#RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
FROM ubuntu
RUN apt-get update && \
apt-get install curl -y && \
wget http://php.net/get/php-1.4.17.tar.bz2 && \
tar xjf php-5.1.68.tar.bz2 && \
mkdir -p php-fpm && \
chown -Rf www-data:www-data /php-fpm
VOLUME ["/etc/php/7.0/c
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu
RUN apt-get install -y \
libssl-dev \
g++ \
&& pip install -U setuptools \
&& pip install -U pip && pip install \
awscli==1.8.15 \
statsmodels==1.12.1 \
numpy==0.13.4 \
mysqlclient==0.9.2 \
pip \
python-pyssl==2.0.2 \
pytest==0.4.0 \
pyasn1 \
scikit-learn==2.12.2 \
python-seaborn==0.11.0 \
pyorestack==1.0.1 \
python-pip==0.10.1 \
pandas-cli==0.12.1 \
server-client==0.3.0 \
scikit-learn==1.11.0 \
tokyotic==1.2.0
RUN pip install --no-cache-dir --upgrade six
RUN pip install --user --upgrade pip && \
pip install cloudpickle scipy
COPY conf/ /app/
WORKDIR /app
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "/app/config.py"]
FROM node:6.11.2
RUN apt-get update && apt-get install -y \
ca-certificates \
git \
&& rm -r /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup | bash - \
&& apt-get update \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 3000
CMD npm start --no-scripts
FROM debian:jessie
EXPOSE 9092
RUN apt-get update -qq && \
apt-get update -y && \
apt-get install --no-install-recommends -y \
build-essential \
curl \
git \
libgcc1 \
git \
git-core \
libssl-dev \
libssl-dev \
libxml2-dev \
zlib1g-dev \
libxml2-dev \
git-core \
&& \
docker-php-ext-install mysqli pcntl \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-
dir=/usr/include/ \
&& docker-php-ext-install gd \
&& docker-php-ext-configure imap \
&& docker-php-ext-install mbstring \
# Install php
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-
dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu
\
&& docker-php-ext-install -j$(nproc) pdo pdo_mysql zip mysqli pdo_mysql simplexml
zip \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& dock
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu
RUN apt-get install -y \
libxml2-dev \
libxslt1-dev \
pkg-config \
libssl-dev \
libxml2-dev \
libxslt-dev \
libffi-dev \
python-pip
RUN apt-get update && apt-get install -y libpq-dev
RUN git clone https://github.com/angular/docs-automation.git /app
# Adding app dir
WORKDIR /app
# Install app dependencies
COPY package.json /app/
RUN npm install
EXPOSE 4001
# Environment variables as an official Python runtime as a parent image
CMD ["python", "app.py"]
FROM debian:jessie
MAINTAINER Johann Sourc <jonas.jeant@gmail.com>
RUN apt-get update && apt-get install -y \
curl
# install composer and generic apt-get
RUN apt-get install curl -y && apt-get install --no-install-recommends -y \
git \
g++ \
make \
php5-cli \
php5-curl \
php5-gd \
php5-json \
php5-intl \
php5-curl \
php5-curl \
php5-xdebug \
php5-xdebug \
php5-memcache \
php5-imagick \
php5-xsl \
php5-curl \
php5-intl \
php5-curl \
php5-mysql \
php5-mcrypt \
php5-mysql \
php5-sqlite \
php5-sqlite \
php5-mongo \
php5-mcrypt \
php5-mcrypt \
php5-sqlite \
php5-sqlite \
php-pear \
php5-xmlwriter \
php5-xdebug \
php5-xmlrpc \
php5-curl \
php5-xsl \
libpq-dev \
python-pip
# Create a directory where the commands ran as a service
RUN mkdir -p /etc/my_init.d/ \
&& ln -sf /dev/stdout /var/log/mysql/access.log \
&& ln -sf /dev/stderr /var/log/apache2/error.log
# Install and configure additional symfony
RUN apt-get install -y supervisor
# Supervisor
RUN mkdir /var/log/supervisor
WORKDIR /srv
RUN git clone \--depth 1 https://github.com/samples/same-persentine.git /sample-
data-auth-cloud
RUN git clone https://github.com/samplesaml-sql/rabbitmq-plugins-systemd.git
# Copy application sources
COPY . /usr/src/app
# Install spark
#RUN mvn -fve --prefix /usr/spark -DskipTests -DskipTests && \
# mv /spark-driver/spark-shared-maps-cache-0.1.0-SNAPSHO
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ubuntu
ENV PATH $PATH:/opt/bin
# install dependencies
RUN dnf install -y \
base-devel \
bzip2 \
curl \
freeradius-devel \
freetype-devel \
mesa-libGLU-devel \
make \
perl-Image-Perl \
perl-Inc-CPACHE \
perl-ExtUtils-MakeMaker \
perl-Core-Parser \
perl-ExtUtils-Source \
perl-Compress-Plugins \
perl-ExtUtils-Ping \
perl-DBI \
perl-Module-Library \
perl-Devel \
perl-Devel \
pkgconfig \
python-devel \
python-pip \
python-devel \
patch \
perl-Perl-COMMENT \
perl-DBI-perl \
perl-ExtUtils-Patch \
perl-ExtUtils-Packages \