File size: 290,799 Bytes
c8cb4de | 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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 | id,Commit Hash,Subject,Message,Old Contents,New Contents,Ground truth
2261,c7e44b42f89e8f129d1157bbff3b29258595878c,Upgrade python,"Upgrade python
on-behalf-of: @par-tec <695c42277aebbb49ae58a85a7de81a095f3fce0c@par-tec.it>
","#
# Docker image for ipython notebook and various
# python courses
#
FROM python:3.6
MAINTAINER roberto.polli@par-tec.it
RUN apt-get -y update && apt-get -y install gcc make python-dev python-pip
RUN apt-get -y update && apt-get -y install build-essential libblas-dev liblapack-dev gfortran libfreetype6-dev libpng-dev
RUN apt-get -y update && apt-get -y install tree sshpass openssl
RUN apt-get -y clean
RUN apt-get -y update && apt-get -y install curl apt-transport-https
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
RUN echo ""deb [arch=amd64] https://download.docker.com/linux/debian stretch stable"" >> /etc/apt/sources.list
RUN apt-get -y update && apt-get -y install docker-ce
RUN apt-get -y clean
RUN apt-get -y autoremove
RUN pip3 install -U pip
COPY requirements.txt /requirements.txt
# install requirements for both py2 and py3
RUN pip2 install -r /requirements.txt
RUN pip install -r /requirements.txt
# Use folding extension
RUN pip install jupyter_contrib_nbextensions
RUN jupyter contrib nbextension install --user
RUN jupyter nbextension enable codefolding/main
RUN jupyter nbextension enable rubberband/main
RUN jupyter nbextension enable exercise/main
RUN jupyter nbextension enable hide_input/main
RUN jupyter nbextension install rise --py --sys-prefix
RUN jupyter nbextension enable rise --py --sys-prefix
# Add API dependencies
COPY requirements-api.txt /requirements-api.txt
RUN pip3 install -r /requirements-api.txt
ENTRYPOINT /usr/local/bin/jupyter-notebook --ip 0.0.0.0
",,code refactoring
385,f64a8648f8ce8f63bd6cbbd93b94a1255975e2b1,fix: Dockerfile to reduce vulnerabilities,"fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN9-GLIBC-356851
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-1055465
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-1078517
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-1243765
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-674659","FROM node:14.8.0-slim
WORKDIR /usr/src/app/
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5000
CMD [""npm"",""start""]
","FROM node:14.16.0-slim
WORKDIR /usr/src/app/
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5000
CMD [""npm"",""start""]
",bug fix
2089,c44d0144d7b8ee4632eda52aaa3eb37b9a3e66e5,Bumped source to 20200927-ba8fe83,"Bumped source to 20200927-ba8fe83
","FROM docker.pkg.github.com/dock0/ssh/ssh:20200927-d1faa41
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
",,maintenance/other
2271,e648c4252a17952a7e54cc6ffc324e8afddec854,FIX: Dockerfile,"FIX: Dockerfile
","FROM ubuntu:18.04
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:lkoppel/robotics && \
apt-get update && \
apt-get install -y --no-install-recommends \
git g++ cmake python3 \
libblas-dev \
liblapack-dev \
liblapacke-dev \
libopenmpi-dev \
openmpi-bin \
libeigen3-dev \
&& rm -rf /var/lib/apt/lists/*",,bug fix
360,06c7394f6b4b0f7acdffc9ddd77e5a6782012dd8,Update AWS CLI version to 1.11.86,"Update AWS CLI version to 1.11.86
","FROM python:3.6-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.schema-version=""1.0"" \
org.label-schema.name=""AWS CLI"" \
org.label-schema.url=""https://aws.amazon.com/cli/"" \
org.label-schema.vcs-url=""https://github.com/GreyTeardrop/docker-awscli"" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.version=""1.11.85""
RUN \
apt-get update && \
apt-get install -y --no-install-recommends groff-base && \
mkdir -p /aws && \
pip install --upgrade awscli==1.11.85 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT [""aws""]
","FROM python:3.6-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.schema-version=""1.0"" \
org.label-schema.name=""AWS CLI"" \
org.label-schema.url=""https://aws.amazon.com/cli/"" \
org.label-schema.vcs-url=""https://github.com/GreyTeardrop/docker-awscli"" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.version=""1.11.86""
RUN \
apt-get update && \
apt-get install -y --no-install-recommends groff-base && \
mkdir -p /aws && \
pip install --upgrade awscli==1.11.86 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT [""aws""]
",code refactoring
2202,1063ffa61b0ce9f41fc99d3754e90aff81222b63,update autostew_back to new start behavior,"update autostew_back to new start behavior
","# This dockerfile is used to run the autostew webserver
FROM ubuntu:14.04
Maintainer Michael Wittig <witmic1@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
COPY dependencies.sh dependencies.sh
# install all dependencies
RUN ./dependencies.sh
WORKDIR /autostew
VOLUME [""autostew/settings""]
VOLUME [""autostew_back/settings""]
ENV DJANGO_SETTINGS_MODULE=autostew.settings.prod
ENV SETTINGS_FILE=alpha
CMD /autostew/autostew_back.py -s $SETTINGS_FILE
",,code refactoring
166,ce72e7d82e136eab88de6384dd3efd9f19f009ea,Bumped source to 20220521-ced4788,"Bumped source to 20220521-ced4788
","FROM ghcr.io/dock0/arch:20220521-27b18d1
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
","FROM ghcr.io/dock0/arch:20220521-ced4788
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",maintenance/other
2303,d2a3f380db03b8d735d5ed476f0801501a9d9d27,Update Dockerfile to have yarn installed,"Update Dockerfile to have yarn installed
This is needed to install jQuery for use in assets:precompile
","ARG base_image=ruby:2.7.5
FROM ${base_image}
RUN apt-get update -qq && apt-get upgrade -y
RUN apt-get install -y build-essential nodejs && apt-get clean
# This image is only intended to be able to run this app in a production RAILS_ENV
ENV RAILS_ENV production
ENV APP_HOME /app
ENV DATABASE_URL mysql2://root:root@mysql/signon
ENV GOVUK_APP_NAME signon
ENV PORT 3016
ENV TEST_DATABASE_URL mysql2://root:root@mysql/signon_test
ENV ASSETS_PREFIX /assets/signon
RUN mkdir $APP_HOME
WORKDIR $APP_HOME
ADD Gemfile* .ruby-version $APP_HOME/
RUN bundle config set deployment 'true'
RUN bundle config set without 'development test'
RUN bundle install --jobs 4
ADD . $APP_HOME
RUN GOVUK_APP_DOMAIN=www.gov.uk \
DEVISE_PEPPER=`openssl rand -base64 40` \
DEVISE_SECRET_KEY=`openssl rand -base64 40` \
GOVUK_WEBSITE_ROOT=https://www.gov.uk \
bundle exec rails assets:clean assets:precompile
HEALTHCHECK CMD curl --silent --fail localhost:$PORT || exit 1
CMD bundle exec puma
",,feature addition
68,9e9bd153aedbdb50f1c2433d574a504f99007198,TIL: Add -p to preserve environment,"TIL: Add -p to preserve environment
","FROM debian:stretch
ENV BI_CONNECTOR_VERSION=2.10.0
WORKDIR /docker/
RUN apt-get update && apt-get install -y openssl libgssapi-krb5-2 rsyslog
RUN useradd -ms /bin/bash docker && chown -R docker:docker /docker
ADD https://info-mongodb-com.s3.amazonaws.com/mongodb-bi/v2/mongodb-bi-linux-x86_64-debian92-v$BI_CONNECTOR_VERSION.tgz /opt/
RUN tar xzvf /opt/mongodb-bi-linux-x86_64-debian92-v$BI_CONNECTOR_VERSION.tgz -C /opt
ADD bin /usr/local/bin
RUN chmod -R 755 /usr/local/bin
RUN chmod -R 755 /opt
EXPOSE 3307
CMD service rsyslog start && su -c run.sh docker
","FROM debian:stretch
ENV BI_CONNECTOR_VERSION=2.10.0
WORKDIR /docker/
RUN apt-get update && apt-get install -y openssl libgssapi-krb5-2 rsyslog
RUN useradd -ms /bin/bash docker && chown -R docker:docker /docker
ADD https://info-mongodb-com.s3.amazonaws.com/mongodb-bi/v2/mongodb-bi-linux-x86_64-debian92-v$BI_CONNECTOR_VERSION.tgz /opt/
RUN tar xzvf /opt/mongodb-bi-linux-x86_64-debian92-v$BI_CONNECTOR_VERSION.tgz -C /opt
ADD bin /usr/local/bin
RUN chmod -R 755 /usr/local/bin
RUN chmod -R 755 /opt
EXPOSE 3307
CMD service rsyslog start && su -p -c run.sh docker
",feature addition
2291,34217762d773784260dfebab6957d02a4b32753e,cirrus: add more dependencies to fedora image,"cirrus: add more dependencies to fedora image
","FROM fedora:31
RUN dnf install -y \
cmake \
diffutils \
file \
findutils \
gcc-c++ \
git \
make \
ninja-build \
yaml-cpp-devel
",,feature addition
2243,15388a77f4b9459c62921c35b482c56a592547c9,add env var user,"add env var user
","FROM ubuntu:14.04
MAINTAINER Ryan Dale <dalerr@niddk.nih.gov>
RUN apt-get update && apt-get install -y \
build-essential \
bzip2 \
ca-certificates \
git \
libglib2.0-0 \
libsm6 \
libxext6 \
libxtst6 \
libxrender1 \
mysql-client \
wget \
x11-apps \
zlib1g-dev
RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
wget --no-check-certificate --quiet https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
/bin/bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda && \
rm Miniconda3-latest-Linux-x86_64.sh
ENV PATH /opt/conda/bin:$PATH
RUN mkdir /opt/lcdb
COPY requirements.txt /tmp/
RUN conda install -y -c bioconda -c r --file /tmp/requirements.txt
ENV DISPLAY :0
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
WORKDIR /opt/lcdb
",,feature addition
33,89d387b8e92950df5c703e2a64368a5c182ccd85,Update to match new jenkins docker path,Update to match new jenkins docker path,"FROM jenkinsci/jenkins
# Switch from jenkins user to root to install packages
USER root
# Install docker debian-way
RUN apt-get update && apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y --no-install-recommends && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository ""deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"" && \
apt-get update && apt-get install -y --no-install-recommends docker-ce
# Install additional packages
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
cloc \
default-libmysqlclient-dev \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libdb-dev \
libevent-dev \
libffi-dev \
libgeoip-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
python-dev \
python-pip \
python-setuptools \
xz-utils \
zlib1g-dev && \
rm -rf /var/lib/apt/lists/* && \
pip install -U docker-compose virtualenv envtpl
# Allow jenkins to manage docker daemon
# WARNING: This is high security risk as all jobs creators have now root privilegues on HOST docker machine
RUN groupadd -f docker && \
usermod -aG docker jenkins && \
usermod -aG www-data jenkins
# Switch back to jenkins user
USER jenkins
","FROM jenkins/jenkins
# Switch from jenkins user to root to install packages
USER root
# Install docker debian-way
RUN apt-get update && apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y --no-install-recommends && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository ""deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"" && \
apt-get update && apt-get install -y --no-install-recommends docker-ce
# Install additional packages
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bzip2 \
cloc \
default-libmysqlclient-dev \
file \
g++ \
gcc \
imagemagick \
libbz2-dev \
libc6-dev \
libcurl4-openssl-dev \
libdb-dev \
libevent-dev \
libffi-dev \
libgeoip-dev \
libglib2.0-dev \
libjpeg-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libncurses-dev \
libpng-dev \
libpq-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libtool \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
make \
patch \
python-dev \
python-pip \
python-setuptools \
xz-utils \
zlib1g-dev && \
rm -rf /var/lib/apt/lists/* && \
pip install -U docker-compose virtualenv envtpl
# Allow jenkins to manage docker daemon
# WARNING: This is high security risk as all jobs creators have now root privilegues on HOST docker machine
RUN groupadd -f docker && \
usermod -aG docker jenkins && \
usermod -aG www-data jenkins
# Switch back to jenkins user
USER jenkins
",maintenance/other
2118,55526b2ad8293ef34f16e328d9b48b9202467bbe,fix(deps): bump node from 15.8.0-alpine to 15.9.0-alpine in /share/docker,"fix(deps): bump node from 15.8.0-alpine to 15.9.0-alpine in /share/docker
Bumps node from 15.8.0-alpine to 15.9.0-alpine.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <1c358da00a777d4e9898c1280ab801e2df165188@users.noreply.github.com>","FROM node:15.8.0-alpine AS node
# Install base utils
RUN set -x \
&& apk --no-cache add \
su-exec \
curl \
netcat-openbsd
FROM node AS build
ARG NAME
ARG NPM_TOKEN
USER node
RUN mkdir /home/node/$NAME
WORKDIR /home/node/$NAME
# Install npm packages
COPY --chown=node:node package.json package-lock.json .snyk ./
RUN NODE_ENV= npm ci
# Build app
COPY --chown=node:node src src/
RUN set -x \
&& npm run build --if-present \
&& npm prune --production \
&& npm cache clean --force
FROM node
LABEL maintainer=""hugo@exec.sh""
ARG NAME
ARG VERSION
ARG VERSION_COMMIT
ARG VERSION_BUILD_DATE
RUN su-exec node mkdir /home/node/$NAME
WORKDIR /home/node/$NAME
# Copy app build
COPY --from=build --chown=node:node /home/node/$NAME /home/node/$NAME
COPY --chown=node:node share/docker/start.sh start.sh
COPY --chown=node:node share/docker/test.sh test.sh
# Set app runtime environment variables
ENV NAME $NAME
ENV VERSION $VERSION
ENV VERSION_COMMIT $VERSION_COMMIT
ENV VERSION_BUILD_DATE $VERSION_BUILD_DATE
EXPOSE 3000
ENTRYPOINT [ ""./start.sh"" ]
HEALTHCHECK --start-period=10s --interval=5m --timeout=3s \
CMD nc -z localhost 3000 || exit 1
",,"bug fix, maintenance/other"
129,a2abd2706b974c056d4131c6150b10dd94252f3a,Bumped source to 20200603-288d4bd,"Bumped source to 20200603-288d4bd
","FROM docker.pkg.github.com/dock0/service/service:20200603-bed609c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
","FROM docker.pkg.github.com/dock0/service/service:20200603-288d4bd
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
",maintenance/other
2114,06f25e3c29154f227456f49ffbde7541bb4f164a,add execution permission,"add execution permission
","FROM ubuntu:18.04
MAINTAINER TAKAMI Torao <koiroha@gmail.com>
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get update
RUN apt-get install -y unzip
RUN apt-get install -y curl
RUN apt-get install -y build-essential
RUN apt-get install -y openjdk-8-jdk
RUN apt-get install -y nodejs
RUN apt-get install -y python3-pip python3-dev \
&& cd /usr/local/bin \
&& ln -s /usr/bin/python3 python \
&& pip3 install --upgrade pip
RUN apt-get clean
RUN mkdir -p /opt/site
RUN mkdir -p /opt/webserver
COPY hazmat-webserver-1.1.1.zip /opt/webserver
RUN cd /opt/webserver && unzip hazmat-webserver-1.1.1.zip && mv hazmat-webserver-1.1.1/* . && rmdir hazmat-webserver-1.1.1 && rm hazmat-webserver-1.1.1.zip
COPY bootstrap.sh /opt/webserver/bin
WORKDIR /opt/webserver
ENTRYPOINT [""/opt/webserver/bin/bootstrap.sh""]
CMD [""/opt/site""]
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
ENV PATH $JAVA_HOME/bin:$PATH
ENV LANG C.UTF-8
EXPOSE 8089
",,feature addition
401,52758643fae3903270d40bce161cd55be64653d8,Use newer version of unrealircd to fix build,"Use newer version of unrealircd to fix build
",,,bug fix
266,659be085beb272d868dd127ba96c3d4ed1cfdc95,[JENKINS] Automatic update to latest commit (f80eb16),"[JENKINS] Automatic update to latest commit (f80eb16)
Updated to f80eb1606012a15d04d760f3ca0a2be95c4b5b6e, `docker
build`-step verified to work.
","FROM python:3
# Install dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
sudo graphviz postgresql-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Clone and install netbox
ENV NETBOX_COMMIT 5aadfff1de2ba7a07faa327c519df4038bab6e7e
RUN mkdir -p /usr/src/netbox \
&& git clone https://github.com/digitalocean/netbox.git /usr/src/netbox \
&& (cd /usr/src/netbox && git checkout -q ""$NETBOX_COMMIT"") \
&& (cd /usr/src/netbox && pip install --no-cache-dir -r requirements.txt)
# Change workdir
WORKDIR /usr/src/netbox/netbox
# Create user
RUN groupadd -g 1000 netbox \
&& useradd -u 1000 -g 1000 -d /usr/src/netbox netbox \
&& chown -Rh netbox:netbox /usr/src/netbox
# Setup entrypoint
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
# Expose ports
EXPOSE 8000/tcp
ENTRYPOINT [""/sbin/entrypoint.sh""]
CMD [""runserver"", ""--insecure"", ""0.0.0.0:8000""]
","FROM python:3
# Install dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
sudo graphviz postgresql-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Clone and install netbox
ENV NETBOX_COMMIT f80eb1606012a15d04d760f3ca0a2be95c4b5b6e
RUN mkdir -p /usr/src/netbox \
&& git clone https://github.com/digitalocean/netbox.git /usr/src/netbox \
&& (cd /usr/src/netbox && git checkout -q ""$NETBOX_COMMIT"") \
&& (cd /usr/src/netbox && pip install --no-cache-dir -r requirements.txt)
# Change workdir
WORKDIR /usr/src/netbox/netbox
# Create user
RUN groupadd -g 1000 netbox \
&& useradd -u 1000 -g 1000 -d /usr/src/netbox netbox \
&& chown -Rh netbox:netbox /usr/src/netbox
# Setup entrypoint
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
# Expose ports
EXPOSE 8000/tcp
ENTRYPOINT [""/sbin/entrypoint.sh""]
CMD [""runserver"", ""--insecure"", ""0.0.0.0:8000""]
",maintenance/other
284,08cde83794a1ddac312557d4b6b7af5d11c31eea,Bumped source to 20201111-07afd59,"Bumped source to 20201111-07afd59
","FROM docker.pkg.github.com/dock0/ssh/ssh:20201111-5419fe1
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
","FROM docker.pkg.github.com/dock0/ssh/ssh:20201111-07afd59
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
",maintenance/other
313,530926704592916970fea8716002baabcfff4bc2,Updated Atlassian JIRA Service Desk master branch to latest version 4.3.3,"Updated Atlassian JIRA Service Desk master branch to latest version 4.3.3
","FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV APP_VERSION 4.3.2
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& addgroup -S jira \
&& adduser -S -g jira -u 1000 jira \
&& mkdir -p ""${JIRA_HOME}"" \
&& mkdir -p ""${JIRA_HOME}/caches/indexes"" \
&& chmod -R 700 ""${JIRA_HOME}"" \
&& chown -R jira:jira ""${JIRA_HOME}"" \
&& mkdir -p ""${JIRA_INSTALL}/conf/Catalina"" \
&& curl -Ls ""https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.3.2.tar.gz"" | tar -xz --directory ""${JIRA_INSTALL}"" --strip-components=1 --no-same-owner \
&& curl -Ls ""https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz"" | tar -xz --directory ""${JIRA_INSTALL}/lib"" --strip-components=1 --no-same-owner ""mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar"" \
&& rm -f ""${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar"" \
&& curl -Ls ""https://jdbc.postgresql.org/download/postgresql-9.4.3.22.jar"" -o ""${JIRA_INSTALL}/lib/postgresql-9.4.3.22.jar"" \
&& chmod -R 700 ""${JIRA_INSTALL}/conf"" \
&& chmod -R 700 ""${JIRA_INSTALL}/logs"" \
&& chmod -R 700 ""${JIRA_INSTALL}/temp"" \
&& chmod -R 700 ""${JIRA_INSTALL}/work"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/conf"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/logs"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/temp"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/work"" \
&& sed --in-place ""s/java version/openjdk version/g"" ""${JIRA_INSTALL}/bin/check-java.sh"" \
&& echo -e ""\njira.home=$JIRA_HOME"" >> ""${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties"" \
&& touch -d ""@0"" ""${JIRA_INSTALL}/conf/server.xml""
# Reference the UID for the jira user.
USER 1000
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME [""/var/atlassian/jira"", ""/opt/atlassian/jira/logs""]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY ""docker-entrypoint.sh"" ""/""
ENTRYPOINT [""/docker-entrypoint.sh""]
# Run Atlassian JIRA as a foreground process by default.
CMD [""/opt/atlassian/jira/bin/start-jira.sh"", ""-fg""]
","FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV APP_VERSION 4.3.3
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& addgroup -S jira \
&& adduser -S -g jira -u 1000 jira \
&& mkdir -p ""${JIRA_HOME}"" \
&& mkdir -p ""${JIRA_HOME}/caches/indexes"" \
&& chmod -R 700 ""${JIRA_HOME}"" \
&& chown -R jira:jira ""${JIRA_HOME}"" \
&& mkdir -p ""${JIRA_INSTALL}/conf/Catalina"" \
&& curl -Ls ""https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.3.3.tar.gz"" | tar -xz --directory ""${JIRA_INSTALL}"" --strip-components=1 --no-same-owner \
&& curl -Ls ""https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz"" | tar -xz --directory ""${JIRA_INSTALL}/lib"" --strip-components=1 --no-same-owner ""mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar"" \
&& rm -f ""${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar"" \
&& curl -Ls ""https://jdbc.postgresql.org/download/postgresql-9.4.3.32.jar"" -o ""${JIRA_INSTALL}/lib/postgresql-9.4.3.32.jar"" \
&& chmod -R 700 ""${JIRA_INSTALL}/conf"" \
&& chmod -R 700 ""${JIRA_INSTALL}/logs"" \
&& chmod -R 700 ""${JIRA_INSTALL}/temp"" \
&& chmod -R 700 ""${JIRA_INSTALL}/work"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/conf"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/logs"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/temp"" \
&& chown -R jira:jira ""${JIRA_INSTALL}/work"" \
&& sed --in-place ""s/java version/openjdk version/g"" ""${JIRA_INSTALL}/bin/check-java.sh"" \
&& echo -e ""\njira.home=$JIRA_HOME"" >> ""${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties"" \
&& touch -d ""@0"" ""${JIRA_INSTALL}/conf/server.xml""
# Reference the UID for the jira user.
USER 1000
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME [""/var/atlassian/jira"", ""/opt/atlassian/jira/logs""]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY ""docker-entrypoint.sh"" ""/""
ENTRYPOINT [""/docker-entrypoint.sh""]
# Run Atlassian JIRA as a foreground process by default.
CMD [""/opt/atlassian/jira/bin/start-jira.sh"", ""-fg""]
",code refactoring
159,ebf57e63750552ab8e8754efecccf8becc10e86a,Fix typo,"Fix typo
","FROM ubuntu:16.04
# Install required packages
RUN apt-get update && apt-get --assume-yes install \
apache2 \
git \
php \
curl \
php-dev \
php-curl \
libapache2-mod-php \
zip \
nodejs \
npm \
imagemagick \
sqlite3 \
php7.0-sqlite3
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
# Install bower
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN npm install -g bower
RUN npm install -g coffee-script
# Prepare apache
RUN rm -rf /var/www/html
# Make terminal functional by default
RUN echo ""export TERM=xterm"" >>/root/.bashrc
# Install biom via conda
RUN curl -sS http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh >miniconda.sh
RUN chmod +x miniconda.sh
RUN ./miniconda.sh -b -f -p /usr/local
RUN echo ""export LC_ALL=C.UTF-8"" >>/etc/apache2/envvars
RUN echo ""export LANG=C.UTF-8"" >>/etc/apache2/envvars
# Clone git repo
RUN git clone https://github.com/iimog/Phinch.git /var/www/html
RUN cd /var/www/html && composer install
RUN cd /var/www/html && bower install --allow-root
RUN cd /var/www/html && coffee -o scripts -c src
RUN cd /var/www/html/vendor/iimog/biom-conversion-server && conda install --yes --file explicit-conda-spec.txt
RUN cp /var/www/html/vendor/iimog/biom-conversion-server/convert.php /var/www/html
RUN cd /var/www/html/biomFiles/ && sqlite3 phinch.sqlite <../data/dbschema.sql
RUN chmod -R www-data:www-data /var/www/html/biomFiles
RUN cp /var/www/html/server/dbconfig-sqlite.php /var/www/html/server/dbconfig.php
# Add custom php ini
ADD php.ini /etc/php/7.0/apache2/php.ini
CMD service apache2 start; while true; do sleep 60; done
","FROM ubuntu:16.04
# Install required packages
RUN apt-get update && apt-get --assume-yes install \
apache2 \
git \
php \
curl \
php-dev \
php-curl \
libapache2-mod-php \
zip \
nodejs \
npm \
imagemagick \
sqlite3 \
php7.0-sqlite3
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
# Install bower
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN npm install -g bower
RUN npm install -g coffee-script
# Prepare apache
RUN rm -rf /var/www/html
# Make terminal functional by default
RUN echo ""export TERM=xterm"" >>/root/.bashrc
# Install biom via conda
RUN curl -sS http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh >miniconda.sh
RUN chmod +x miniconda.sh
RUN ./miniconda.sh -b -f -p /usr/local
RUN echo ""export LC_ALL=C.UTF-8"" >>/etc/apache2/envvars
RUN echo ""export LANG=C.UTF-8"" >>/etc/apache2/envvars
# Clone git repo
RUN git clone https://github.com/iimog/Phinch.git /var/www/html
RUN cd /var/www/html && composer install
RUN cd /var/www/html && bower install --allow-root
RUN cd /var/www/html && coffee -o scripts -c src
RUN cd /var/www/html/vendor/iimog/biom-conversion-server && conda install --yes --file explicit-conda-spec.txt
RUN cp /var/www/html/vendor/iimog/biom-conversion-server/convert.php /var/www/html
RUN cd /var/www/html/biomFiles/ && sqlite3 phinch.sqlite <../data/dbschema.sql
RUN chown -R www-data:www-data /var/www/html/biomFiles
RUN cp /var/www/html/server/dbconfig-sqlite.php /var/www/html/server/dbconfig.php
# Add custom php ini
ADD php.ini /etc/php/7.0/apache2/php.ini
CMD service apache2 start; while true; do sleep 60; done
",bug fix
288,9e246a6e7cbd074dcec1c218d9b296cf98f0fcf1,Pin tested version (#10299),"Pin tested version (#10299)
* Test
* Update dockerfile to set version
* Undo","FROM bash:latest
RUN apk --no-cache add dumb-init gettext ca-certificates openssl curl \
&& curl -Lo /usr/local/bin/kubectl ""https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"" \
&& chmod +x /usr/local/bin/kubectl \
&& curl -sL https://run.linkerd.io/install | sh \
&& ln -s /root/.linkerd2/bin/linkerd /usr/local/bin/linkerd
WORKDIR /
COPY install-linkerd.sh /
RUN chmod +x install-linkerd.sh
ENTRYPOINT /usr/local/bin/bash /install-linkerd.sh","FROM bash:latest
ENV LINKERD2_VERSION=stable-2.10.2
RUN apk --no-cache add dumb-init gettext ca-certificates openssl curl \
&& curl -Lo /usr/local/bin/kubectl ""https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"" \
&& chmod +x /usr/local/bin/kubectl \
&& curl -sL https://run.linkerd.io/install | sh \
&& ln -s /root/.linkerd2/bin/linkerd /usr/local/bin/linkerd
WORKDIR /
COPY install-linkerd.sh /
RUN chmod +x install-linkerd.sh
ENTRYPOINT /usr/local/bin/bash /install-linkerd.sh
",Not enough inforamtion
60,49306fbf6b50599d7a1f14d649848ba602f1c6b8,"Fixed missing ""\"" in Dockerfile (#44)","Fixed missing ""\"" in Dockerfile (#44)
","FROM ubuntu:18.04
LABEL maintainer=""Paul Steinlechner""
ENV TIMEZONE=Europe/Vienna \
DEBIAN_FRONTEND=noninteractive \
CONANEXILES_MASTERSERVER=1 \
CONANEXILES_Game_RconPlugin_RconEnabled=1 \
CONANEXILES_Game_RconPlugin_RconPassword=Password \
CONANEXILES_Game_RconPlugin_RconPort=25575 \
CONANEXILES_Game_RconPlugin_RconMaxKarma=60
RUN apt-get update \
&& apt-get install -y crudini python3-pip redis-tools software-properties-common supervisor unzip curl xvfb wget rsync net-tools \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN dpkg --add-architecture i386 \
&& curl https://dl.winehq.org/wine-builds/winehq.key | apt-key add - \
&& apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' \
&& apt-add-repository ppa:cybermax-dexter/sdl2-backport \
&& apt-get update \
&& apt-get install --install-recommends --assume-yes winehq-devel \
&& pip3 install python-valve \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install winetricks
ADD https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks /usr/bin/winetricks
RUN chmod +x /usr/bin/winetricks
RUN apt-get update \
&& apt-get install -y x11vnc strace cabextract
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY . ./
RUN ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime \
&& echo $TIMEZONE > /etc/timezone \
&& chmod +x /entrypoint.sh \
&& cd /usr/bin/ \
&& chmod +x conanexiles_controller rconcli steamcmd_setup
EXPOSE 7777/udp 25575 27015/udp 27016/udp 37015/udp 37016/udp 5900
VOLUME [""/conanexiles""]
ENTRYPOINT [""/entrypoint.sh""]
CMD [""supervisord""]
","FROM ubuntu:18.04
LABEL maintainer=""Paul Steinlechner""
ENV TIMEZONE=Europe/Vienna \
DEBIAN_FRONTEND=noninteractive \
CONANEXILES_MASTERSERVER=1 \
CONANEXILES_Game_RconPlugin_RconEnabled=1 \
CONANEXILES_Game_RconPlugin_RconPassword=Password \
CONANEXILES_Game_RconPlugin_RconPort=25575 \
CONANEXILES_Game_RconPlugin_RconMaxKarma=60
RUN apt-get update \
&& apt-get install -y crudini python3-pip redis-tools software-properties-common supervisor unzip curl xvfb wget rsync net-tools \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN dpkg --add-architecture i386 \
&& curl https://dl.winehq.org/wine-builds/winehq.key | apt-key add - \
&& apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' \
&& apt-add-repository ppa:cybermax-dexter/sdl2-backport \
&& apt-get update \
&& apt-get install --install-recommends --assume-yes winehq-devel \
&& pip3 install python-valve \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install winetricks
ADD https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks /usr/bin/winetricks
RUN chmod +x /usr/bin/winetricks
RUN apt-get update \
&& apt-get install -y x11vnc strace cabextract \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY . ./
RUN ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime \
&& echo $TIMEZONE > /etc/timezone \
&& chmod +x /entrypoint.sh \
&& cd /usr/bin/ \
&& chmod +x conanexiles_controller rconcli steamcmd_setup
EXPOSE 7777/udp 25575 27015/udp 27016/udp 37015/udp 37016/udp 5900
VOLUME [""/conanexiles""]
ENTRYPOINT [""/entrypoint.sh""]
CMD [""supervisord""]
",bug fix
2125,94adeada3256c7908c614e351650108f4c8f520c,Bumped source to 20200328-fa23b74,"Bumped source to 20200328-fa23b74
","FROM docker.pkg.github.com/dock0/service/service:20200328-95aa349
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
",,maintenance/other
221,4a259ea43d01bbd36fc18b850b0a53a69fda3cb2,Update composer hash,Update composer hash,"FROM ubuntu:xenial
# Versioning
ENV PIP_INSTALL_VERSION 19.0.2
ENV PIP3_INSTALL_VERSION 8.1.1
ENV GO_LANG_VERSION 1.14.3
ENV MAVEN_VERSION 3.6.0
ENV SBT_VERSION 1.3.3
ENV GRADLE_VERSION 5.6.4
ENV RUBY_VERSION 2.7.1
ENV MIX_VERSION 1.0
ENV COMPOSER_ALLOW_SUPERUSER 1
# programs needed for building
RUN apt-get update && apt-get install -y \
build-essential \
curl \
sudo \
unzip \
wget \
gnupg2 \
software-properties-common \
bzr
RUN add-apt-repository ppa:git-core/ppa && apt-get update && apt-get install -y git
# nodejs seems to be required for the one of the gems
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get -y install nodejs
# install yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo ""deb https://dl.yarnpkg.com/debian/ stable main"" | sudo tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install yarn
# install bower
RUN npm install -g bower && \
echo '{ ""allow_root"": true }' > /root/.bowerrc
# install jdk 12
RUN curl -L -o openjdk12.tar.gz https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz && \
tar xvf openjdk12.tar.gz && \
rm openjdk12.tar.gz && \
sudo mv jdk-12.0.2 /opt/ && \
sudo rm /opt/jdk-12.0.2/lib/src.zip
ENV JAVA_HOME=/opt/jdk-12.0.2
ENV PATH=$PATH:$JAVA_HOME/bin
RUN java -version
# install python and rebar
RUN apt-get install -y python rebar
# install and update python-pip
RUN apt-get install -y python-pip python3-pip && \
pip2 install --no-cache-dir --upgrade pip==$PIP_INSTALL_VERSION && \
pip3 install --no-cache-dir --upgrade pip==$PIP3_INSTALL_VERSION
# install maven
RUN curl -O https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz && \
tar -xf apache-maven-$MAVEN_VERSION-bin.tar.gz; rm -rf apache-maven-$MAVEN_VERSION-bin.tar.gz && \
mv apache-maven-$MAVEN_VERSION /usr/local/lib/maven && \
ln -s /usr/local/lib/maven/bin/mvn /usr/local/bin/mvn
# install sbt
RUN mkdir -p /usr/local/share/sbt-launcher-packaging && \
curl --progress \
--retry 3 \
--retry-delay 15 \
--location ""https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.tgz"" \
--output ""/tmp/sbt-${SBT_VERSION}.tgz"" && \
tar -xzf ""/tmp/sbt-${SBT_VERSION}.tgz"" -C /usr/local/share/sbt-launcher-packaging --strip-components=1 && \
ln -s /usr/local/share/sbt-launcher-packaging/bin/sbt /usr/local/bin/sbt && \
rm -f ""/tmp/sbt-${SBT_VERSION}.tgz""
# install gradle
WORKDIR /tmp
RUN curl -L -o gradle.zip https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip && \
unzip -q gradle.zip && \
rm gradle.zip && \
mv gradle-$GRADLE_VERSION /root/gradle
ENV PATH=/root/gradle/bin:$PATH
#install go
WORKDIR /go
RUN wget https://storage.googleapis.com/golang/go$GO_LANG_VERSION.linux-amd64.tar.gz -O go.tar.gz && tar --strip-components=1 -xf go.tar.gz && rm -f go.tar.gz
ENV GOROOT /go
ENV PATH=$PATH:/go/bin
# godep is now required for license_finder to work for project that are still managed with GoDep
ENV GOROOT=/go
ENV GOPATH=/gopath
ENV PATH=$PATH:$GOPATH/bin
RUN mkdir /gopath && \
go get github.com/tools/godep && \
go get github.com/FiloSottile/gvt && \
go get github.com/Masterminds/glide && \
go get github.com/kardianos/govendor && \
go get github.com/golang/dep/cmd/dep && \
go get -u github.com/rancher/trash && \
go clean -cache
# Fix the locale
RUN apt-get install -y locales
RUN locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
#install rvm
RUN apt-add-repository -y ppa:rael-gc/rvm && \
apt update && apt install -y rvm && \
/usr/share/rvm/bin/rvm install --default $RUBY_VERSION
ENV PATH=/usr/share/rvm/bin:$PATH
#install mix
RUN wget https://packages.erlang-solutions.com/erlang-solutions_${MIX_VERSION}_all.deb && \
sudo dpkg -i erlang-solutions_${MIX_VERSION}_all.deb && \
sudo rm -f erlang-solutions_${MIX_VERSION}_all.deb && \
sudo apt-get update && \
sudo apt-get install -y esl-erlang && \
sudo apt-get install -y elixir
# install bundler
RUN bash -lc ""gem update --system && gem install bundler""
# install conan
RUN apt-get install -y python-dev && \
pip install --no-cache-dir --ignore-installed six --ignore-installed colorama \
--ignore-installed requests --ignore-installed chardet \
--ignore-installed urllib3 \
--upgrade setuptools && \
pip install --no-cache-dir -Iv conan==1.11.2
# install Cargo
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --profile minimal
# install NuGet (w. mono)
# https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools#macoslinux
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF &&\
echo ""deb https://download.mono-project.com/repo/ubuntu stable-xenial main"" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list &&\
apt-get update &&\
apt-get install -y mono-complete &&\
curl -o ""/usr/local/bin/nuget.exe"" ""https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"" &&\
curl -o ""/usr/local/bin/nugetv3.5.0.exe"" ""https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe""
# install dotnet core
WORKDIR /tmp
RUN wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb &&\
sudo dpkg -i packages-microsoft-prod.deb &&\
rm packages-microsoft-prod.deb &&\
sudo apt-get update &&\
sudo apt-get install -y dotnet-runtime-2.1 dotnet-sdk-2.1 dotnet-sdk-2.2 dotnet-sdk-3.0 dotnet-sdk-3.1
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4F4EA0AAE5267A6C &&\
echo ""deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main"" | sudo tee /etc/apt/sources.list.d/php.list &&\
apt-get update &&\
apt-get install -y php7.4-cli &&\
php -r ""copy('https://getcomposer.org/installer', 'composer-setup.php');"" &&\
php -r ""if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"" &&\
php composer-setup.php &&\
php -r ""unlink('composer-setup.php');"" &&\
mv composer.phar /usr/bin/composer
# install license_finder
COPY . /LicenseFinder
RUN bash -lc ""cd /LicenseFinder && bundle config set no-cache 'true' && bundle install -j4 && rake install""
WORKDIR /
CMD cd /scan && /bin/bash -l
","FROM ubuntu:xenial
# Versioning
ENV PIP_INSTALL_VERSION 19.0.2
ENV PIP3_INSTALL_VERSION 8.1.1
ENV GO_LANG_VERSION 1.14.3
ENV MAVEN_VERSION 3.6.0
ENV SBT_VERSION 1.3.3
ENV GRADLE_VERSION 5.6.4
ENV RUBY_VERSION 2.7.1
ENV MIX_VERSION 1.0
ENV COMPOSER_ALLOW_SUPERUSER 1
# programs needed for building
RUN apt-get update && apt-get install -y \
build-essential \
curl \
sudo \
unzip \
wget \
gnupg2 \
software-properties-common \
bzr
RUN add-apt-repository ppa:git-core/ppa && apt-get update && apt-get install -y git
# nodejs seems to be required for the one of the gems
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get -y install nodejs
# install yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo ""deb https://dl.yarnpkg.com/debian/ stable main"" | sudo tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install yarn
# install bower
RUN npm install -g bower && \
echo '{ ""allow_root"": true }' > /root/.bowerrc
# install jdk 12
RUN curl -L -o openjdk12.tar.gz https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz && \
tar xvf openjdk12.tar.gz && \
rm openjdk12.tar.gz && \
sudo mv jdk-12.0.2 /opt/ && \
sudo rm /opt/jdk-12.0.2/lib/src.zip
ENV JAVA_HOME=/opt/jdk-12.0.2
ENV PATH=$PATH:$JAVA_HOME/bin
RUN java -version
# install python and rebar
RUN apt-get install -y python rebar
# install and update python-pip
RUN apt-get install -y python-pip python3-pip && \
pip2 install --no-cache-dir --upgrade pip==$PIP_INSTALL_VERSION && \
pip3 install --no-cache-dir --upgrade pip==$PIP3_INSTALL_VERSION
# install maven
RUN curl -O https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz && \
tar -xf apache-maven-$MAVEN_VERSION-bin.tar.gz; rm -rf apache-maven-$MAVEN_VERSION-bin.tar.gz && \
mv apache-maven-$MAVEN_VERSION /usr/local/lib/maven && \
ln -s /usr/local/lib/maven/bin/mvn /usr/local/bin/mvn
# install sbt
RUN mkdir -p /usr/local/share/sbt-launcher-packaging && \
curl --progress \
--retry 3 \
--retry-delay 15 \
--location ""https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.tgz"" \
--output ""/tmp/sbt-${SBT_VERSION}.tgz"" && \
tar -xzf ""/tmp/sbt-${SBT_VERSION}.tgz"" -C /usr/local/share/sbt-launcher-packaging --strip-components=1 && \
ln -s /usr/local/share/sbt-launcher-packaging/bin/sbt /usr/local/bin/sbt && \
rm -f ""/tmp/sbt-${SBT_VERSION}.tgz""
# install gradle
WORKDIR /tmp
RUN curl -L -o gradle.zip https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip && \
unzip -q gradle.zip && \
rm gradle.zip && \
mv gradle-$GRADLE_VERSION /root/gradle
ENV PATH=/root/gradle/bin:$PATH
#install go
WORKDIR /go
RUN wget https://storage.googleapis.com/golang/go$GO_LANG_VERSION.linux-amd64.tar.gz -O go.tar.gz && tar --strip-components=1 -xf go.tar.gz && rm -f go.tar.gz
ENV GOROOT /go
ENV PATH=$PATH:/go/bin
# godep is now required for license_finder to work for project that are still managed with GoDep
ENV GOROOT=/go
ENV GOPATH=/gopath
ENV PATH=$PATH:$GOPATH/bin
RUN mkdir /gopath && \
go get github.com/tools/godep && \
go get github.com/FiloSottile/gvt && \
go get github.com/Masterminds/glide && \
go get github.com/kardianos/govendor && \
go get github.com/golang/dep/cmd/dep && \
go get -u github.com/rancher/trash && \
go clean -cache
# Fix the locale
RUN apt-get install -y locales
RUN locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
#install rvm
RUN apt-add-repository -y ppa:rael-gc/rvm && \
apt update && apt install -y rvm && \
/usr/share/rvm/bin/rvm install --default $RUBY_VERSION
ENV PATH=/usr/share/rvm/bin:$PATH
#install mix
RUN wget https://packages.erlang-solutions.com/erlang-solutions_${MIX_VERSION}_all.deb && \
sudo dpkg -i erlang-solutions_${MIX_VERSION}_all.deb && \
sudo rm -f erlang-solutions_${MIX_VERSION}_all.deb && \
sudo apt-get update && \
sudo apt-get install -y esl-erlang && \
sudo apt-get install -y elixir
# install bundler
RUN bash -lc ""gem update --system && gem install bundler""
# install conan
RUN apt-get install -y python-dev && \
pip install --no-cache-dir --ignore-installed six --ignore-installed colorama \
--ignore-installed requests --ignore-installed chardet \
--ignore-installed urllib3 \
--upgrade setuptools && \
pip install --no-cache-dir -Iv conan==1.11.2
# install Cargo
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --profile minimal
# install NuGet (w. mono)
# https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools#macoslinux
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF &&\
echo ""deb https://download.mono-project.com/repo/ubuntu stable-xenial main"" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list &&\
apt-get update &&\
apt-get install -y mono-complete &&\
curl -o ""/usr/local/bin/nuget.exe"" ""https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"" &&\
curl -o ""/usr/local/bin/nugetv3.5.0.exe"" ""https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe""
# install dotnet core
WORKDIR /tmp
RUN wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb &&\
sudo dpkg -i packages-microsoft-prod.deb &&\
rm packages-microsoft-prod.deb &&\
sudo apt-get update &&\
sudo apt-get install -y dotnet-runtime-2.1 dotnet-sdk-2.1 dotnet-sdk-2.2 dotnet-sdk-3.0 dotnet-sdk-3.1
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4F4EA0AAE5267A6C &&\
echo ""deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main"" | sudo tee /etc/apt/sources.list.d/php.list &&\
apt-get update &&\
apt-get install -y php7.4-cli &&\
php -r ""copy('https://getcomposer.org/installer', 'composer-setup.php');"" &&\
php -r ""if (hash_file('sha384', 'composer-setup.php') === 'e5325b19b381bfd88ce90a5ddb7823406b2a38cff6bb704b0acc289a09c8128d4a8ce2bbafcd1fcbdc38666422fe2806') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"" &&\
php composer-setup.php &&\
php -r ""unlink('composer-setup.php');"" &&\
mv composer.phar /usr/bin/composer
# install license_finder
COPY . /LicenseFinder
RUN bash -lc ""cd /LicenseFinder && bundle config set no-cache 'true' && bundle install -j4 && rake install""
WORKDIR /
CMD cd /scan && /bin/bash -l
",maintenance/other
241,aab9632ab69a50c4e4e6b9a4a74c141f8f1b34a6,windows-x86: Add --force-yes,"windows-x86: Add --force-yes
For
E: There are problems and -y was used without --force-yes
on CircleCI.
","FROM thewtex/cross-compiler-base
MAINTAINER Matt McCormick ""matt.mccormick@kitware.com""
# WINE is used as an emulator for try_run and tests with CMake.
# Other dependencies are from the listed MXE requirements:
# http://mxe.cc/#requirements
# 'cmake' is omitted because it is installed from source in the base image
RUN apt-get update && apt-get -y install \
autoconf \
automake \
autopoint \
bash \
bison \
bzip2 \
flex \
gettext \
git \
g++ \
g++-multilib \
gperf \
intltool \
libffi-dev \
libgdk-pixbuf2.0-dev \
libtool-bin \
libltdl-dev \
libssl-dev \
libxml-parser-perl \
libc6-dev-i386 \
make \
openssl \
p7zip-full \
patch \
perl \
pkg-config \
python \
ruby \
scons \
sed \
unzip \
wget \
wine \
xz-utils
# Set up wine
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y wine32
ENV WINEARCH win32
RUN wine hostname
WORKDIR /usr/src
# mxe master 2016-04-09
RUN git clone https://github.com/mxe/mxe.git && \
cd mxe && \
git checkout 4accc990de7741f4d5aa37e368a732f3d47d803a
WORKDIR /usr/src/mxe
COPY settings.mk /usr/src/mxe/
RUN make -j$(nproc)
ENV PATH ${PATH}:/usr/src/mxe/usr/bin
ENV CROSS_TRIPLE i686-w64-mingw32.static
ENV AS=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-as \
AR=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-ar \
CC=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-gcc \
CPP=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-cpp \
CXX=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-g++ \
LD=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-ld
ENV DEFAULT_DOCKCROSS_IMAGE thewtex/cross-compiler-windows-x86
WORKDIR /build
ENV CMAKE_TOOLCHAIN_FILE /usr/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake
RUN echo 'set(CMAKE_CROSSCOMPILING_EMULATOR ""/usr/bin/wine"")' >> ${CMAKE_TOOLCHAIN_FILE}
","FROM thewtex/cross-compiler-base
MAINTAINER Matt McCormick ""matt.mccormick@kitware.com""
# WINE is used as an emulator for try_run and tests with CMake.
# Other dependencies are from the listed MXE requirements:
# http://mxe.cc/#requirements
# 'cmake' is omitted because it is installed from source in the base image
RUN apt-get update && apt-get -y --force-yes install \
autoconf \
automake \
autopoint \
bash \
bison \
bzip2 \
flex \
gettext \
git \
g++ \
g++-multilib \
gperf \
intltool \
libffi-dev \
libgdk-pixbuf2.0-dev \
libtool-bin \
libltdl-dev \
libssl-dev \
libxml-parser-perl \
libc6-dev-i386 \
make \
openssl \
p7zip-full \
patch \
perl \
pkg-config \
python \
ruby \
scons \
sed \
unzip \
wget \
wine \
xz-utils
# Set up wine
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y wine32
ENV WINEARCH win32
RUN wine hostname
WORKDIR /usr/src
# mxe master 2016-04-09
RUN git clone https://github.com/mxe/mxe.git && \
cd mxe && \
git checkout 4accc990de7741f4d5aa37e368a732f3d47d803a
WORKDIR /usr/src/mxe
COPY settings.mk /usr/src/mxe/
RUN make -j$(nproc)
ENV PATH ${PATH}:/usr/src/mxe/usr/bin
ENV CROSS_TRIPLE i686-w64-mingw32.static
ENV AS=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-as \
AR=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-ar \
CC=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-gcc \
CPP=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-cpp \
CXX=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-g++ \
LD=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-ld
ENV DEFAULT_DOCKCROSS_IMAGE thewtex/cross-compiler-windows-x86
WORKDIR /build
ENV CMAKE_TOOLCHAIN_FILE /usr/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake
RUN echo 'set(CMAKE_CROSSCOMPILING_EMULATOR ""/usr/bin/wine"")' >> ${CMAKE_TOOLCHAIN_FILE}
",feature addition
203,dc3dcd0adafb6388081c2e83b1fbb37e2c2d20c9,Update app sha,"Update app sha
","FROM ubuntu:14.04
MAINTAINER Damon Oehlman <damon.oehlman@nicta.com.au>
# configure environment
ENV CHROME_DEB google-chrome-stable_current_amd64.deb
ENV CHROME_SANDBOX /opt/google/chrome/chrome-sandbox
ENV HOME /home/testbot
# configure ports that will be exposed
EXPOSE 3000:80
# use aarnet mirror for quicker building while developing
RUN sed -i 's/archive.ubuntu.com/mirror.aarnet.edu.au\/pub\/ubuntu\/archive/g' /etc/apt/sources.list
# create the testbot user
RUN mkdir -p /home/testbot
RUN useradd --password testbot --home /home/testbot testbot
RUN chown testbot:testbot /home/testbot
WORKDIR /home/testbot
# install wget and curl
RUN apt-get -y update
RUN apt-get install -y curl wget software-properties-common
# include the nodesource node install
RUN curl -sL https://deb.nodesource.com/setup | bash -
# include gstreamer
RUN add-apt-repository -y ppa:gstreamer-developers/ppa
# update sources
RUN apt-get -y update --fix-missing
# install packages
RUN apt-get install -y nodejs git xvfb build-essential git xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
# TODO: configure video loopback
# RUN /tmp/setup-loopbackvideo.sh
# install chrome
RUN wget https://dl.google.com/linux/direct/$CHROME_DEB
RUN dpkg --install --force-overwrite --force-confdef $CHROME_DEB || sudo apt-get -y -f install
RUN apt-get install -y -q
# workaround chrome sandbox limitations in containers
RUN rm -f $CHROME_SANDBOX
RUN wget https://googledrive.com/host/0B5VlNZ_Rvdw6NTJoZDBSVy1ZdkE -O $CHROME_SANDBOX
RUN chmod 4755 $CHROME_SANDBOX
# set the app SHA
ENV APP_SHA b27e4287bd958f3dccd6a28acb91ec808fe3b10d
# run up testbot
RUN mkdir -p /srv/testbot
RUN chown testbot:testbot /srv/testbot
WORKDIR /srv/testbot
# run as testbot
USER testbot
RUN wget https://github.com/rtc-io/rtc-testbot/archive/$APP_SHA.tar.gz -O app.tar.gz
RUN tar xf app.tar.gz --strip-components=1
RUN rm app.tar.gz
CMD [""make"", ""server""]
","FROM ubuntu:14.04
MAINTAINER Damon Oehlman <damon.oehlman@nicta.com.au>
# configure environment
ENV CHROME_DEB google-chrome-stable_current_amd64.deb
ENV CHROME_SANDBOX /opt/google/chrome/chrome-sandbox
ENV HOME /home/testbot
# configure ports that will be exposed
EXPOSE 3000:80
# use aarnet mirror for quicker building while developing
RUN sed -i 's/archive.ubuntu.com/mirror.aarnet.edu.au\/pub\/ubuntu\/archive/g' /etc/apt/sources.list
# create the testbot user
RUN mkdir -p /home/testbot
RUN useradd --password testbot --home /home/testbot testbot
RUN chown testbot:testbot /home/testbot
WORKDIR /home/testbot
# install wget and curl
RUN apt-get -y update
RUN apt-get install -y curl wget software-properties-common
# include the nodesource node install
RUN curl -sL https://deb.nodesource.com/setup | bash -
# include gstreamer
RUN add-apt-repository -y ppa:gstreamer-developers/ppa
# update sources
RUN apt-get -y update --fix-missing
# install packages
RUN apt-get install -y nodejs git xvfb build-essential git xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
# TODO: configure video loopback
# RUN /tmp/setup-loopbackvideo.sh
# install chrome
RUN wget https://dl.google.com/linux/direct/$CHROME_DEB
RUN dpkg --install --force-overwrite --force-confdef $CHROME_DEB || sudo apt-get -y -f install
RUN apt-get install -y -q
# workaround chrome sandbox limitations in containers
RUN rm -f $CHROME_SANDBOX
RUN wget https://googledrive.com/host/0B5VlNZ_Rvdw6NTJoZDBSVy1ZdkE -O $CHROME_SANDBOX
RUN chmod 4755 $CHROME_SANDBOX
# set the app SHA
ENV APP_SHA 0e9c469058b0a001bef95a04d98731cca964968d
# run up testbot
RUN mkdir -p /srv/testbot
RUN chown testbot:testbot /srv/testbot
WORKDIR /srv/testbot
# run as testbot
USER testbot
RUN wget https://github.com/rtc-io/rtc-testbot/archive/$APP_SHA.tar.gz -O app.tar.gz
RUN tar xf app.tar.gz --strip-components=1
RUN rm app.tar.gz
CMD [""make"", ""server""]
",maintenance/other
2225,d27b57abc70ba5d69dd63de815122b8635593701,Bumped source to 20211030-539a1cc,"Bumped source to 20211030-539a1cc
","FROM docker.pkg.github.com/dock0/arch/arch:20211030-f4d24a2
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
",,maintenance/other
253,3f025f69cff807731ece18d5db25d178784c319c,Add git to the apt-get install packages.,Add git to the apt-get install packages.,,,feature addition
2090,c49cb723f5d8f5baab7d904fee0c57f750494095,Update Dockerfile (#30),"Update Dockerfile (#30)
","FROM golang:1.7
RUN apt-get update && apt-get install -y --no-install-recommends \
default-jdk \
coreutils \
upx \
&& rm -rf /var/lib/apt/lists/*
CMD ""docker/run_in_docker.sh""
",,code refactoring
395,8be059f7d30fc9397e28f815e504b0eea4de6fd2,Bumped source to 20210703-2d13685,"Bumped source to 20210703-2d13685
","FROM docker.pkg.github.com/dock0/arch/arch:20210703-a57e87d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
","FROM docker.pkg.github.com/dock0/arch/arch:20210703-2d13685
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",maintenance/other
43,d1a7c5abf8acc140603e913d934f4c4555c59fbe,Bumped source to 20200730-eecdab6,"Bumped source to 20200730-eecdab6
","FROM docker.pkg.github.com/dock0/ssh/ssh:20200730-2def513
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
","FROM docker.pkg.github.com/dock0/ssh/ssh:20200730-eecdab6
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
",maintenance/other
340,e226b16723539a0a9c80479828c36480ad4eaa41,version 0.51,"version 0.51
","# Use Alpine Linux as our base image so that we minimize the overall size our final container, and minimize the surface area of packages that could be out of date.
FROM alpine:3.8@sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
LABEL description=""Docker container for building static sites with the Hugo static site generator.""
LABEL maintainer=""Johannes Mitlmeier <dev.jojomi@yahoo.com>""
# config
ENV HUGO_VERSION=0.50
#ENV HUGO_TYPE=
ENV HUGO_TYPE=_extended
COPY ./run.sh /run.sh
ENV HUGO_ID=hugo${HUGO_TYPE}_${HUGO_VERSION}
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_ID}_Linux-64bit.tar.gz /tmp
RUN tar -xf /tmp/${HUGO_ID}_Linux-64bit.tar.gz -C /tmp \
&& mkdir -p /usr/local/sbin \
&& mv /tmp/hugo /usr/local/sbin/hugo \
&& rm -rf /tmp/${HUGO_ID}_linux_amd64 \
&& rm -rf /tmp/${HUGO_ID}_Linux-64bit.tar.gz \
&& rm -rf /tmp/LICENSE.md \
&& rm -rf /tmp/README.md
RUN apk add --update git asciidoctor libc6-compat libstdc++ \
&& apk upgrade \
&& apk add --no-cache ca-certificates \
&& chmod 0777 /run.sh
VOLUME /src
VOLUME /output
WORKDIR /src
CMD [""/run.sh""]
EXPOSE 1313
","# Use Alpine Linux as our base image so that we minimize the overall size our final container, and minimize the surface area of packages that could be out of date.
FROM alpine:3.8@sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
LABEL description=""Docker container for building static sites with the Hugo static site generator.""
LABEL maintainer=""Johannes Mitlmeier <dev.jojomi@yahoo.com>""
# config
ENV HUGO_VERSION=0.51
#ENV HUGO_TYPE=
ENV HUGO_TYPE=_extended
COPY ./run.sh /run.sh
ENV HUGO_ID=hugo${HUGO_TYPE}_${HUGO_VERSION}
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_ID}_Linux-64bit.tar.gz /tmp
RUN tar -xf /tmp/${HUGO_ID}_Linux-64bit.tar.gz -C /tmp \
&& mkdir -p /usr/local/sbin \
&& mv /tmp/hugo /usr/local/sbin/hugo \
&& rm -rf /tmp/${HUGO_ID}_linux_amd64 \
&& rm -rf /tmp/${HUGO_ID}_Linux-64bit.tar.gz \
&& rm -rf /tmp/LICENSE.md \
&& rm -rf /tmp/README.md
RUN apk add --update git asciidoctor libc6-compat libstdc++ \
&& apk upgrade \
&& apk add --no-cache ca-certificates \
&& chmod 0777 /run.sh
VOLUME /src
VOLUME /output
WORKDIR /src
CMD [""/run.sh""]
EXPOSE 1313
",maintenance/other
250,d5e68aeafaeeeae1ec5492f90f8b158204056a40,updated CoreOS version to 633.1.0,"updated CoreOS version to 633.1.0
","FROM debian:jessie
ENV CLOUDCONFIG_INSTALL_DIR /opt/cloudconfig
ENVDEBIAN_FRONTEND noninteractive
ENV PATH ${CLOUDCONFIG_INSTALL_DIR}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#Core OS image from where we extract the coreos-cloudinit tool (used to verify cloudinit files)
ENVCOREOS_CHANNEL_ID alpha
ENVCOREOS_VERSION_ID 612.1.0
ENVCOREOS_IMAGE_URL http://${COREOS_CHANNEL_ID}.release.core-os.net/amd64-usr/${COREOS_VERSION_ID}/coreos_production_pxe_image.cpio.gz
# install required packges
RUNapt-get update -qq && \
apt-get install -y cpio squashfs-tools curl apache2 php5 php5-curl bzip2 openssl git && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
# extract coreos-cloudinit from CoreOS Image file
WORKDIR/tmp
RUNcurl -L --silent ${COREOS_IMAGE_URL} | zcat | cpio -iv && \
unsquashfs usr.squashfs && \
cp squashfs-root/bin/coreos-cloudinit /usr/local/bin && \
cp squashfs-root/bin/fleetctl /usr/local/bin && \
rm -rf /tmp/*
# configure apache & prepare install dir
ADDconf/apache2/cloudconfig.conf /etc/apache2/sites-available/cloudconfig.conf
RUNa2dissite 000-default && \
a2ensite cloudconfig && \
a2enmod php5 && \
a2enmod rewrite && \
mkdir ${CLOUDCONFIG_INSTALL_DIR}
ADDcomposer.json composer.lock ${CLOUDCONFIG_INSTALL_DIR}/
ADDbin/ ${CLOUDCONFIG_INSTALL_DIR}/bin/
ADDconf/ ${CLOUDCONFIG_INSTALL_DIR}/conf/
ADDfeatures/ ${CLOUDCONFIG_INSTALL_DIR}/features/
ADDwww/ ${CLOUDCONFIG_INSTALL_DIR}/www/
WORKDIR ${CLOUDCONFIG_INSTALL_DIR}
RUN curl -sS https://getcomposer.org/installer | php && \
php composer.phar install && \
rm composer.*
WORKDIR /root
COPY docker-entrypoint.sh /usr/local/sbin/docker-entrypoint.sh
ENTRYPOINT [""/usr/local/sbin/docker-entrypoint.sh""]
EXPOSE 80
CMD [""/usr/sbin/apache2ctl"", ""-D"", ""FOREGROUND""]
","FROM debian:jessie
ENV CLOUDCONFIG_INSTALL_DIR /opt/cloudconfig
ENVDEBIAN_FRONTEND noninteractive
ENV PATH ${CLOUDCONFIG_INSTALL_DIR}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#Core OS image from where we extract the coreos-cloudinit tool (used to verify cloudinit files)
ENVCOREOS_CHANNEL_ID alpha
ENVCOREOS_VERSION_ID 633.1.0
ENVCOREOS_IMAGE_URL http://${COREOS_CHANNEL_ID}.release.core-os.net/amd64-usr/${COREOS_VERSION_ID}/coreos_production_pxe_image.cpio.gz
# install required packges
RUNapt-get update -qq && \
apt-get install -y cpio squashfs-tools curl apache2 php5 php5-curl bzip2 openssl git && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
# extract coreos-cloudinit from CoreOS Image file
WORKDIR/tmp
RUNcurl -L --silent ${COREOS_IMAGE_URL} | zcat | cpio -iv && \
unsquashfs usr.squashfs && \
cp squashfs-root/bin/coreos-cloudinit /usr/local/bin && \
cp squashfs-root/bin/fleetctl /usr/local/bin && \
rm -rf /tmp/*
# configure apache & prepare install dir
ADDconf/apache2/cloudconfig.conf /etc/apache2/sites-available/cloudconfig.conf
RUNa2dissite 000-default && \
a2ensite cloudconfig && \
a2enmod php5 && \
a2enmod rewrite && \
mkdir ${CLOUDCONFIG_INSTALL_DIR}
ADDcomposer.json composer.lock ${CLOUDCONFIG_INSTALL_DIR}/
ADDbin/ ${CLOUDCONFIG_INSTALL_DIR}/bin/
ADDconf/ ${CLOUDCONFIG_INSTALL_DIR}/conf/
ADDfeatures/ ${CLOUDCONFIG_INSTALL_DIR}/features/
ADDwww/ ${CLOUDCONFIG_INSTALL_DIR}/www/
WORKDIR ${CLOUDCONFIG_INSTALL_DIR}
RUN curl -sS https://getcomposer.org/installer | php && \
php composer.phar install && \
rm composer.*
WORKDIR /root
COPY docker-entrypoint.sh /usr/local/sbin/docker-entrypoint.sh
ENTRYPOINT [""/usr/local/sbin/docker-entrypoint.sh""]
EXPOSE 80
CMD [""/usr/sbin/apache2ctl"", ""-D"", ""FOREGROUND""]
",code refactoring
140,5f4fc08fdc9a299792664ac23166879079fc2220,Bumped source to 20210313-169faba,"Bumped source to 20210313-169faba
","FROM docker.pkg.github.com/dock0/arch/arch:20210313-e646dd2
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
","FROM docker.pkg.github.com/dock0/arch/arch:20210313-169faba
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
",maintenance/other
376,3826d1497495e2cca9a5be29f7fd38684d9c9777,Fix Dockerfile,"Fix Dockerfile
","FROM golang:1.3.3-onbuild
ENTRYPOINT [""./mkr""]
","FROM golang:1.3.3-onbuild
ENTRYPOINT [""/go/bin/app""]
",bug fix
2186,8c460c200e26e5ba44cd99cb296a2041d6c667ab,security: bump Go to 1.17.10,"security: bump Go to 1.17.10
","# renovate: datasource=docker depName=alpine versioning=docker
ARG ALPINE_VERSION=3.15
# renovate: datasource=docker depName=golang versioning=docker
ARG GOLANG_VERSION=1.17.9-alpine
FROM golang:${GOLANG_VERSION}${ALPINE_VERSION} as builder
RUN apk add --no-cache make gcc musl-dev
COPY . /src
RUN make -C /src install PREFIX=/pkg GO_BUILDFLAGS='-mod vendor'
################################################################################
FROM alpine:${ALPINE_VERSION}
LABEL source_repository=""https://github.com/sapcc/limes""
RUN apk add --no-cache ca-certificates
COPY --from=builder /pkg/ /usr/
ENTRYPOINT [""/usr/bin/limes""]
",,maintenance/other
2074,0e7d47a94968e1472ee6c81de0484f5969dad76f,Update Dockerfile,Update Dockerfile,"FROM armhfbuild/debian:wheezy
MAINTAINER Colinas Maoling ""colinas.maoling@t-online.de""
VOLUME /container
RUN /bin/bash -c ""apt-get update && apt-get upgrade -y && apt-get clean && apt-get autoremove""
RUN apt-get install -y libpython2.7 python-setuptools python-pip
RUN pip install pyinstaller
",,code refactoring
150,b9cb887b61b4e43c0d6913d4028fc8833e5b4821,Logstash 1.4.2. Bug fix for env variable.,"Logstash 1.4.2. Bug fix for env variable.
","# ################################################################
# NAME: Dockerfile
# DESC: Docker file to create Logstash container.
#
# LOG:
# yyyy/mm/dd [name] [version]: [notes]
# 2014/10/16 cgwong [v0.1.0]: Initial creation.
# 2014/11/10 cgwong v0.2.0: Included contrib plugins, switched to tar download as a result.
# Added new environment variable.
# Correct issue with contribs not installing.
# 2014/12/04 cgwong v0.2.1: Switched to version specific. Used more environment variables.
# ################################################################
FROM dockerfile/java:oracle-java7
MAINTAINER Stuart Wong <cgs.wong@gmail.com>
# Setup environment
##ENV LOGSTASH_VERSION 1.4
ENV LOGSTASH_FULL_VERSION 1.4.2
ENV LOGSTASH_BASE /opt
ENV LOGSTASH_HOME ${LOGSTASH_BASE}/logstash
ENV LOGSTASH_CFG_DIR ${LOGSTASH_HOME}/conf
ENV LOGSTASH_USER logstash
ENV LOGSTASH_GROUP logstash
# Install Logstash
##RUN wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -
##RUN echo ""deb http://packages.elasticsearch.org/logstash/${LOGSTASH_VERSION}/debian stable main"" >> /etc/apt/sources.list
##RUN apt-get -y update \
## && DEBIAN_FRONTEND=noninteractive \
## apt-get -y install wget \
## logstash
WORKDIR ${LOGSTASH_BASE}
RUN wget https://download.elasticsearch.org/logstash/logstash/logstash-${LOGSTASH_VERSION}.tar.gz \
&& tar -zxf logstash-${LOGSTASH_VERSION}.tar.gz \
&& rm logstash-${LOGSTASH_VERSION}.tar.gz \
&& ln -s logstash-${LOGSTASH_VERSION} logstash
# Install contrib plugins
# Repo version has '-modified' attached to version so need below for contrib to install successfully.
##RUN sed -e ""s/${LOGSTASH_FULL_VERSION}-modified/${LOGSTASH_FULL_VERSION}/"" -i ${LOGSTASH_HOME}/lib/logstash/version.rb
RUN [""${LOGSTASH_HOME}/bin/plugin"", ""install"", ""contrib""]
##RUN sed -e ""s/${LOGSTASH_FULL_VERSION}/${LOGSTASH_FULL_VERSION}-modified/"" -i ${LOGSTASH_HOME}/lib/logstash/version.rb
# Configure environment
RUN groupadd -r ${LOGSTASH_GROUP} \
&& useradd -M -r -g ${LOGSTASH_GROUP} -d ${LOGSTASH_HOME} -s /sbin/nologin -c ""LogStash Service User"" ${LOGSTASH_USER} \
&& chown -R ${LOGSTASH_USER}:${LOGSTASH_GROUP} ${LOGSTASH_HOME}
# Listen for connections on HTTP port/interface: 5000
EXPOSE 5000
USER ${LOGSTASH_USER}
# Create configuration file location
# Copy in logstash.conf file
# Expose as volume
RUN mkdir -p ${LOGSTASH_CFG_DIR}
COPY conf/logstash.conf ${LOGSTASH_CFG_DIR}/logstash.conf
VOLUME [""${LOGSTASH_CFG_DIR}""]
# Copy in entry script and start
COPY logstash.sh /usr/local/bin/logstash.sh
ENTRYPOINT [""/usr/local/bin/logstash.sh""]
","# ################################################################
# NAME: Dockerfile
# DESC: Docker file to create Logstash container.
#
# LOG:
# yyyy/mm/dd [name] [version]: [notes]
# 2014/10/16 cgwong [v0.1.0]: Initial creation.
# 2014/11/10 cgwong v0.2.0: Included contrib plugins, switched to tar download as a result.
# Added new environment variable.
# Correct issue with contribs not installing.
# 2014/12/04 cgwong v0.2.1: Switched to version specific. Used more environment variables.
# ################################################################
FROM dockerfile/java:oracle-java7
MAINTAINER Stuart Wong <cgs.wong@gmail.com>
# Setup environment
##ENV LOGSTASH_VERSION 1.4
ENV LOGSTASH_VERSION 1.4.2
ENV LOGSTASH_BASE /opt
ENV LOGSTASH_HOME ${LOGSTASH_BASE}/logstash
ENV LOGSTASH_CFG_DIR ${LOGSTASH_HOME}/conf
ENV LOGSTASH_USER logstash
ENV LOGSTASH_GROUP logstash
# Install Logstash
##RUN wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -
##RUN echo ""deb http://packages.elasticsearch.org/logstash/${LOGSTASH_VERSION}/debian stable main"" >> /etc/apt/sources.list
##RUN apt-get -y update \
## && DEBIAN_FRONTEND=noninteractive \
## apt-get -y install wget \
## logstash
WORKDIR ${LOGSTASH_BASE}
RUN wget https://download.elasticsearch.org/logstash/logstash/logstash-${LOGSTASH_VERSION}.tar.gz \
&& tar -zxf logstash-${LOGSTASH_VERSION}.tar.gz \
&& rm logstash-${LOGSTASH_VERSION}.tar.gz \
&& ln -s logstash-${LOGSTASH_VERSION} logstash
# Install contrib plugins
# Repo version has '-modified' attached to version so need below for contrib to install successfully.
##RUN sed -e ""s/${LOGSTASH_VERSION}-modified/${LOGSTASH_VERSION}/"" -i ${LOGSTASH_HOME}/lib/logstash/version.rb
RUN [""${LOGSTASH_HOME}/bin/plugin"", ""install"", ""contrib""]
##RUN sed -e ""s/${LOGSTASH_VERSION}/${LOGSTASH_VERSION}-modified/"" -i ${LOGSTASH_HOME}/lib/logstash/version.rb
# Configure environment
RUN groupadd -r ${LOGSTASH_GROUP} \
&& useradd -M -r -g ${LOGSTASH_GROUP} -d ${LOGSTASH_HOME} -s /sbin/nologin -c ""LogStash Service User"" ${LOGSTASH_USER} \
&& chown -R ${LOGSTASH_USER}:${LOGSTASH_GROUP} ${LOGSTASH_HOME}
# Listen for connections on HTTP port/interface: 5000
EXPOSE 5000
USER ${LOGSTASH_USER}
# Create configuration file location
# Copy in logstash.conf file
# Expose as volume
RUN mkdir -p ${LOGSTASH_CFG_DIR}
COPY conf/logstash.conf ${LOGSTASH_CFG_DIR}/logstash.conf
VOLUME [""${LOGSTASH_CFG_DIR}""]
# Copy in entry script and start
COPY logstash.sh /usr/local/bin/logstash.sh
ENTRYPOINT [""/usr/local/bin/logstash.sh""]
",bug fix
366,79a0bd260887df8850d50c01c72b25720843c64e,gosu check now matches as many digits as are present in the release number. Fixes 1.10 being detected as non-existent 1.1.,"gosu check now matches as many digits as are present in the release number. Fixes 1.10 being detected as non-existent 1.1.
","FROM debian:8
# less priviledge user, the id should map the user the downloaded files belongs to
RUN groupadd -r dummy && useradd -r -g dummy dummy -u 1000
# webui + aria2
RUN apt-get update \
&& apt-get install -y aria2 busybox curl \
&& rm -rf /var/lib/apt/lists/*
ADD . /webui-aria2
# gosu install latest
RUN GITHUB_REPO=""https://github.com/tianon/gosu"" \
&& LATEST=`curl -s $GITHUB_REPO""/releases/latest"" | grep -Eo ""[0-9].[0-9]""` \
&& curl -L $GITHUB_REPO""/releases/download/""$LATEST""/gosu-amd64"" > /usr/local/bin/gosu \
&& chmod +x /usr/local/bin/gosu
# goreman supervisor install latest
RUN GITHUB_REPO=""https://github.com/mattn/goreman"" \
&& LATEST=`curl -s $GITHUB_REPO""/releases/latest"" | grep -Eo ""v[0-9]*.[0-9]*.[0-9]*""` \
&& curl -L $GITHUB_REPO""/releases/download/""$LATEST""/goreman_linux_amd64.tar.gz"" > goreman.tar.gz \
&& tar -xvzf goreman.tar.gz && mv /goreman_linux_amd64/goreman /usr/local/bin/goreman && rm -R goreman*
# goreman setup
RUN echo -e ""web: gosu dummy /bin/busybox httpd -f -p 8080 -h /webui-aria2\nbackend: gosu dummy /usr/bin/aria2c --enable-rpc --rpc-listen-all --dir=/data"" > Procfile
EXPOSE 8080 6800
CMD [""goreman"", ""start""]
","FROM debian:8
# less priviledge user, the id should map the user the downloaded files belongs to
RUN groupadd -r dummy && useradd -r -g dummy dummy -u 1000
# webui + aria2
RUN apt-get update \
&& apt-get install -y aria2 busybox curl \
&& rm -rf /var/lib/apt/lists/*
ADD . /webui-aria2
# gosu install latest
RUN GITHUB_REPO=""https://github.com/tianon/gosu"" \
&& LATEST=`curl -s $GITHUB_REPO""/releases/latest"" | grep -Eo ""[0-9].[0-9]*""` \
&& curl -L $GITHUB_REPO""/releases/download/""$LATEST""/gosu-amd64"" > /usr/local/bin/gosu \
&& chmod +x /usr/local/bin/gosu
# goreman supervisor install latest
RUN GITHUB_REPO=""https://github.com/mattn/goreman"" \
&& LATEST=`curl -s $GITHUB_REPO""/releases/latest"" | grep -Eo ""v[0-9]*.[0-9]*.[0-9]*""` \
&& curl -L $GITHUB_REPO""/releases/download/""$LATEST""/goreman_linux_amd64.tar.gz"" > goreman.tar.gz \
&& tar -xvzf goreman.tar.gz && mv /goreman_linux_amd64/goreman /usr/local/bin/goreman && rm -R goreman*
# goreman setup
RUN echo -e ""web: gosu dummy /bin/busybox httpd -f -p 8080 -h /webui-aria2\nbackend: gosu dummy /usr/bin/aria2c --enable-rpc --rpc-listen-all --dir=/data"" > Procfile
EXPOSE 8080 6800
CMD [""goreman"", ""start""]
",bug fix
2137,906d128de04e6314bb2e03789665eb9dd18fb45f,Bumped source to 20201105-019000e,"Bumped source to 20201105-019000e
","FROM docker.pkg.github.com/dock0/service/service:20201105-0af09fa
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
",,maintenance/other
115,7a68920feb5f11478045dae7b23a9e00aba4415b,fix comment,"fix comment
","# Galaxy - Stable
#
# VERSION Galaxy-central
FROM toolshed/requirements
MAINTAINER Björn A. Grüning, bjoern.gruening@gmail.com
# * Make sure the package repository is up to date
# * Install all requirements that are recommend by the Galaxy project
# * Enable the @natefoo magic
# Web server infrastructure matching usegalaxy.org - supervisor, uwsgi, and nginx.
RUN apt-get -qq update && apt-get install --no-install-recommends -y apt-transport-https software-properties-common && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 && \
sh -c ""echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"" && \
apt-get update -qq && apt-get upgrade -y && \
apt-add-repository -y ppa:ansible/ansible && \
apt-add-repository -y ppa:galaxyproject/nginx && \
apt-get -qq update && \
apt-get purge -y software-properties-common && \
apt-get install --no-install-recommends -y mercurial python-psycopg2 postgresql-9.3 sudo samtools python-virtualenv wget \
nginx-extras uwsgi uwsgi-plugin-python supervisor lxc-docker slurm-llnl slurm-llnl-torque libswitch-perl \
slurm-drmaa-dev proftpd proftpd-mod-pgsql libyaml-dev nodejs-legacy npm aufs-tools ansible \
nano nmap lynx vim curl python-pip && \
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Download latest stable release of Galaxy.
ENV GALAXY_RELEASE default
ENV GALAXY_ROOT /galaxy-central
ENV GALAXY_CONFIG_DIR /etc/galaxy
ENV GALAXY_CONFIG_FILE $GALAXY_CONFIG_DIR/galaxy.ini
ENV GALAXY_CONFIG_JOB_CONFIG_FILE $GALAXY_CONFIG_DIR/job_conf.xml
ENV GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE $GALAXY_CONFIG_DIR/job_metrics_conf.xml
ENV GALAXY_VIRTUALENV /home/galaxy/venv
ENV GALAXY_USER galaxy
ENV GALAXY_UID 1450
ENV GALAXY_GID 1450
ENV GALAXY_HOME /home/galaxy
ENV EXPORT_DIR /export
RUN groupadd -r $GALAXY_USER -g $GALAXY_GID && \
useradd -u $GALAXY_UID -r -g $GALAXY_USER -d $GALAXY_HOME -c ""Galaxy user"" $GALAXY_USER && \
mkdir $EXPORT_DIR $GALAXY_HOME && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_HOME $EXPORT_DIR && \
gpasswd -a $GALAXY_USER docker
RUN mkdir $GALAXY_ROOT && wget -q -O - https://bitbucket.org/galaxy/galaxy-central/get/$GALAXY_RELEASE.tar.gz | tar xzf - --strip-components=1 -C $GALAXY_ROOT && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_ROOT
# TODO: ensure virtualenv as part of galaxy role
RUN su $GALAXY_USER -c ""virtualenv $GALAXY_VIRTUALENV""
# Setup Galaxy configuration files.
RUN mkdir -p $GALAXY_CONFIG_DIR && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_CONFIG_DIR
RUN su $GALAXY_USER -c ""cp $GALAXY_ROOT/config/galaxy.ini.sample $GALAXY_CONFIG_FILE && \
cp $GALAXY_ROOT/config/reports_wsgi.ini.sample $GALAXY_CONFIG_DIR/reports_wsgi.ini""
ADD ./servers.ini $GALAXY_CONFIG_DIR/servers.ini
RUN cat $GALAXY_CONFIG_DIR/servers.ini >> $GALAXY_CONFIG_FILE && rm $GALAXY_CONFIG_DIR/servers.ini
ADD roles/ /tmp/ansible/roles
ADD provision.yml /tmp/ansible/provision.yml
RUN ansible-playbook /tmp/ansible/provision.yml \
--extra-vars galaxy_user_name=$GALAXY_USER \
--extra-vars galaxy_config_file=$GALAXY_CONFIG_FILE \
--extra-vars galaxy_config_dir=$GALAXY_CONFIG_DIR \
--extra-vars galaxy_job_conf_path=$GALAXY_CONFIG_JOB_CONFIG_FILE \
--extra-vars galaxy_job_metrics_conf_path=$GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE \
--tags=galaxyextras -c local && \
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD roles/ /tmp/ansible/roles
ADD provision.yml /tmp/ansible/provision.yml
RUN mkdir /shed_tools && chown $GALAXY_USER:$GALAXY_USER /shed_tools
# The following commands will be executed as User galaxy
USER galaxy
WORKDIR /galaxy-central
# Configure Galaxy to use the Tool Shed
RUN mkdir $GALAXY_ROOT/tool_deps
# Fetching all Galaxy python dependencies
RUN . $GALAXY_VIRTUALENV/bin/activate && python scripts/fetch_eggs.py -c $GALAXY_CONFIG_FILE && python scripts/fetch_eggs.py -e drmaa -c $GALAXY_CONFIG_FILE
# Updating genome informations from UCSC
#RUN export GALAXY=/galaxy-central && sh ./cron/updateucsc.sh.sample
ENV GALAXY_CONFIG_DATABASE_CONNECTION postgresql://galaxy:galaxy@localhost:5432/galaxy
ENV GALAXY_CONFIG_TOOL_DEPENDENCY_DIR ./tool_deps
ENV GALAXY_CONFIG_ADMIN_USERS admin@galaxy.org
ENV GALAXY_CONFIG_MASTER_API_KEY HSNiugRFvgT574F43jZ7N9F3
ENV GALAXY_CONFIG_BRAND Galaxy Docker Build
ENV GALAXY_CONFIG_STATIC_ENABLED False
ENV GALAXY_CONFIG_JOB_WORKING_DIRECTORY /export/galaxy-central/database/job_working_directory
ENV GALAXY_CONFIG_FILE_PATH /export/galaxy-central/database/files
ENV GALAXY_CONFIG_NEW_FILE_PATH /export/galaxy-central/database/files
ENV GALAXY_CONFIG_TEMPLATE_CACHE_PATH /export/galaxy-central/database/compiled_templates
ENV GALAXY_CONFIG_CITATION_CACHE_DATA_DIR /export/galaxy-central/database/citations/data
ENV GALAXY_CONFIG_CLUSTER_FILES_DIRECTORY /export/galaxy-central/database/pbs
ENV GALAXY_CONFIG_FTP_UPLOAD_DIR /export/galaxy-central/database/ftp
ENV GALAXY_CONFIG_FTP_UPLOAD_SITE galaxy.docker.org
ENV GALAXY_CONFIG_USE_PBKDF2 False
ENV GALAXY_CONFIG_NGINX_X_ACCEL_REDIRECT_BASE /_x_accel_redirect
ENV GALAXY_CONFIG_NGINX_X_ARCHIVE_FILES_BASE /_x_accel_redirect
ENV GALAXY_CONFIG_NGINX_UPLOAD_STORE /tmp/nginx_upload_store
ENV GALAXY_CONFIG_NGINX_UPLOAD_PATH /_upload
ENV GALAXY_CONFIG_DYNAMIC_PROXY_MANAGE False
ENV GALAXY_CONFIG_VISUALIZATION_PLUGINS_DIRECTORY config/plugins/visualizations
ENV GALAXY_CONFIG_TRUST_IPYTHON_NOTEBOOK_CONVERSION True
ENV GALAXY_CONFIG_TOOLFORM_UPGRADE True
# Next line allow child docker container for viz to find this docker container.
ENV GALAXY_CONFIG_GALAXY_INFRASTRUCTURE_URL http://$HOST_IP/
ENV GALAXY_CONFIG_SANITIZE_ALL_HTML False
ENV GALAXY_CONFIG_TOOLFORM_UPGRADE True
ENV GALAXY_CONFIG_OVERRIDE_DEBUG False
# Define the default postgresql database path
ENV PG_DATA_DIR_DEFAULT /var/lib/postgresql/9.3/main/
ENV PG_DATA_DIR_HOST /export/postgresql/9.3/main/
# Install all required Node dependencies. This is required to get proxy support to work for Interactive Environments
RUN cd /galaxy-central/lib/galaxy/web/proxy/js && npm install
# Container Style
ADD GalaxyDocker.png /galaxy-central/static/welcome/GalaxyDocker.png
ADD welcome.html /galaxy-central/static/welcome.html
# Switch back to User root
USER root
# Setting a standard encoding. This can get important for things like the unix sort tool.
ENV LC_ALL en_US.UTF-8
RUN locale-gen en_US.UTF-8 && dpkg-reconfigure locales
# Include all needed scripts from the host
ADD ./setup_postgresql.py /usr/local/bin/setup_postgresql.py
ADD ./export_user_files.py /usr/local/bin/export_user_files.py
# Configure PostgreSQL
# 1. Remove all old configuration
# 2. Create DB-user 'galaxy' with password 'galaxy' in database 'galaxy'
# 3. Create Galaxy Admin User 'admin@galaxy.org' with password 'admin' and API key 'admin'
RUN service postgresql stop
RUN rm $PG_DATA_DIR_DEFAULT -rf
RUN python /usr/local/bin/setup_postgresql.py --dbuser galaxy --dbpassword galaxy --db-name galaxy --dbpath $PG_DATA_DIR_DEFAULT
RUN service postgresql start && sh create_db.sh -c $GALAXY_CONFIG_FILE
ADD ./create_galaxy_user.py /usr/local/bin/create_galaxy_user.py
RUN service postgresql start && sleep 5 && python /usr/local/bin/create_galaxy_user.py --user admin@galaxy.org --password admin -c $GALAXY_CONFIG_FILE --key admin
ADD ./startup.sh /usr/bin/startup
# Script that enables easier downstream installation of tools (e.g. for different Galaxy Docker flavours)
ADD install_repo_wrapper.sh /usr/bin/install-repository
RUN chmod +x /usr/bin/install-repository /usr/bin/startup
# This needs to happen here and not above, otherwise the Galaxy start
# (without running the startup.sh script) will crash because integrated_tool_panel.xml could not be found.
ENV GALAXY_CONFIG_INTEGRATED_TOOL_PANEL_CONFIG /export/galaxy-central/integrated_tool_panel.xml
ADD ./cgroupfs_mount.sh /root/cgroupfs_mount.sh
# Expose port 80 (webserver), 21 (FTP server), 8800 (Proxy), 9003 (Galaxy report app), 9002 (supvisord web app)
EXPOSE :80
EXPOSE :21
EXPOSE :8800
EXPOSE :9002
EXPOSE :9003
# We need to set $HOME for some Tool Shed tools (e.g Perl libs with $HOME/.cpan)
ENV HOME /home/galaxy
# Mark folders as imported from the host.
VOLUME [""/export/"", ""/data/"", ""/var/lib/docker""]
# Autostart script that is invoked during container start
CMD [""/usr/bin/startup""]
","# Galaxy - Stable
#
# VERSION Galaxy-central
FROM toolshed/requirements
MAINTAINER Björn A. Grüning, bjoern.gruening@gmail.com
# * Make sure the package repository is up to date
# * Install all requirements that are recommend by the Galaxy project
# * Enable the @natefoo magic
# Web server infrastructure matching usegalaxy.org - supervisor, uwsgi, and nginx.
RUN apt-get -qq update && apt-get install --no-install-recommends -y apt-transport-https software-properties-common && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 && \
sh -c ""echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"" && \
apt-get update -qq && apt-get upgrade -y && \
apt-add-repository -y ppa:ansible/ansible && \
apt-add-repository -y ppa:galaxyproject/nginx && \
apt-get -qq update && \
apt-get purge -y software-properties-common && \
apt-get install --no-install-recommends -y mercurial python-psycopg2 postgresql-9.3 sudo samtools python-virtualenv wget \
nginx-extras uwsgi uwsgi-plugin-python supervisor lxc-docker slurm-llnl slurm-llnl-torque libswitch-perl \
slurm-drmaa-dev proftpd proftpd-mod-pgsql libyaml-dev nodejs-legacy npm aufs-tools ansible \
nano nmap lynx vim curl python-pip && \
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV GALAXY_RELEASE default
ENV GALAXY_ROOT /galaxy-central
ENV GALAXY_CONFIG_DIR /etc/galaxy
ENV GALAXY_CONFIG_FILE $GALAXY_CONFIG_DIR/galaxy.ini
ENV GALAXY_CONFIG_JOB_CONFIG_FILE $GALAXY_CONFIG_DIR/job_conf.xml
ENV GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE $GALAXY_CONFIG_DIR/job_metrics_conf.xml
ENV GALAXY_VIRTUALENV /home/galaxy/venv
ENV GALAXY_USER galaxy
ENV GALAXY_UID 1450
ENV GALAXY_GID 1450
ENV GALAXY_HOME /home/galaxy
ENV EXPORT_DIR /export
RUN groupadd -r $GALAXY_USER -g $GALAXY_GID && \
useradd -u $GALAXY_UID -r -g $GALAXY_USER -d $GALAXY_HOME -c ""Galaxy user"" $GALAXY_USER && \
mkdir $EXPORT_DIR $GALAXY_HOME && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_HOME $EXPORT_DIR && \
gpasswd -a $GALAXY_USER docker
# Download latest stable release of Galaxy.
RUN mkdir $GALAXY_ROOT && wget -q -O - https://bitbucket.org/galaxy/galaxy-central/get/$GALAXY_RELEASE.tar.gz | tar xzf - --strip-components=1 -C $GALAXY_ROOT && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_ROOT
# TODO: ensure virtualenv as part of galaxy role
RUN su $GALAXY_USER -c ""virtualenv $GALAXY_VIRTUALENV""
# Setup Galaxy configuration files.
RUN mkdir -p $GALAXY_CONFIG_DIR && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_CONFIG_DIR
RUN su $GALAXY_USER -c ""cp $GALAXY_ROOT/config/galaxy.ini.sample $GALAXY_CONFIG_FILE && \
cp $GALAXY_ROOT/config/reports_wsgi.ini.sample $GALAXY_CONFIG_DIR/reports_wsgi.ini""
ADD ./servers.ini $GALAXY_CONFIG_DIR/servers.ini
RUN cat $GALAXY_CONFIG_DIR/servers.ini >> $GALAXY_CONFIG_FILE && rm $GALAXY_CONFIG_DIR/servers.ini
ADD roles/ /tmp/ansible/roles
ADD provision.yml /tmp/ansible/provision.yml
RUN ansible-playbook /tmp/ansible/provision.yml \
--extra-vars galaxy_user_name=$GALAXY_USER \
--extra-vars galaxy_config_file=$GALAXY_CONFIG_FILE \
--extra-vars galaxy_config_dir=$GALAXY_CONFIG_DIR \
--extra-vars galaxy_job_conf_path=$GALAXY_CONFIG_JOB_CONFIG_FILE \
--extra-vars galaxy_job_metrics_conf_path=$GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE \
--tags=galaxyextras -c local && \
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD roles/ /tmp/ansible/roles
ADD provision.yml /tmp/ansible/provision.yml
RUN mkdir /shed_tools && chown $GALAXY_USER:$GALAXY_USER /shed_tools
# The following commands will be executed as User galaxy
USER galaxy
WORKDIR /galaxy-central
# Configure Galaxy to use the Tool Shed
RUN mkdir $GALAXY_ROOT/tool_deps
# Fetching all Galaxy python dependencies
RUN . $GALAXY_VIRTUALENV/bin/activate && python scripts/fetch_eggs.py -c $GALAXY_CONFIG_FILE && python scripts/fetch_eggs.py -e drmaa -c $GALAXY_CONFIG_FILE
# Updating genome informations from UCSC
#RUN export GALAXY=/galaxy-central && sh ./cron/updateucsc.sh.sample
ENV GALAXY_CONFIG_DATABASE_CONNECTION postgresql://galaxy:galaxy@localhost:5432/galaxy
ENV GALAXY_CONFIG_TOOL_DEPENDENCY_DIR ./tool_deps
ENV GALAXY_CONFIG_ADMIN_USERS admin@galaxy.org
ENV GALAXY_CONFIG_MASTER_API_KEY HSNiugRFvgT574F43jZ7N9F3
ENV GALAXY_CONFIG_BRAND Galaxy Docker Build
ENV GALAXY_CONFIG_STATIC_ENABLED False
ENV GALAXY_CONFIG_JOB_WORKING_DIRECTORY /export/galaxy-central/database/job_working_directory
ENV GALAXY_CONFIG_FILE_PATH /export/galaxy-central/database/files
ENV GALAXY_CONFIG_NEW_FILE_PATH /export/galaxy-central/database/files
ENV GALAXY_CONFIG_TEMPLATE_CACHE_PATH /export/galaxy-central/database/compiled_templates
ENV GALAXY_CONFIG_CITATION_CACHE_DATA_DIR /export/galaxy-central/database/citations/data
ENV GALAXY_CONFIG_CLUSTER_FILES_DIRECTORY /export/galaxy-central/database/pbs
ENV GALAXY_CONFIG_FTP_UPLOAD_DIR /export/galaxy-central/database/ftp
ENV GALAXY_CONFIG_FTP_UPLOAD_SITE galaxy.docker.org
ENV GALAXY_CONFIG_USE_PBKDF2 False
ENV GALAXY_CONFIG_NGINX_X_ACCEL_REDIRECT_BASE /_x_accel_redirect
ENV GALAXY_CONFIG_NGINX_X_ARCHIVE_FILES_BASE /_x_accel_redirect
ENV GALAXY_CONFIG_NGINX_UPLOAD_STORE /tmp/nginx_upload_store
ENV GALAXY_CONFIG_NGINX_UPLOAD_PATH /_upload
ENV GALAXY_CONFIG_DYNAMIC_PROXY_MANAGE False
ENV GALAXY_CONFIG_VISUALIZATION_PLUGINS_DIRECTORY config/plugins/visualizations
ENV GALAXY_CONFIG_TRUST_IPYTHON_NOTEBOOK_CONVERSION True
ENV GALAXY_CONFIG_TOOLFORM_UPGRADE True
# Next line allow child docker container for viz to find this docker container.
ENV GALAXY_CONFIG_GALAXY_INFRASTRUCTURE_URL http://$HOST_IP/
ENV GALAXY_CONFIG_SANITIZE_ALL_HTML False
ENV GALAXY_CONFIG_TOOLFORM_UPGRADE True
ENV GALAXY_CONFIG_OVERRIDE_DEBUG False
# Define the default postgresql database path
ENV PG_DATA_DIR_DEFAULT /var/lib/postgresql/9.3/main/
ENV PG_DATA_DIR_HOST /export/postgresql/9.3/main/
# Install all required Node dependencies. This is required to get proxy support to work for Interactive Environments
RUN cd /galaxy-central/lib/galaxy/web/proxy/js && npm install
# Container Style
ADD GalaxyDocker.png /galaxy-central/static/welcome/GalaxyDocker.png
ADD welcome.html /galaxy-central/static/welcome.html
# Switch back to User root
USER root
# Setting a standard encoding. This can get important for things like the unix sort tool.
ENV LC_ALL en_US.UTF-8
RUN locale-gen en_US.UTF-8 && dpkg-reconfigure locales
# Include all needed scripts from the host
ADD ./setup_postgresql.py /usr/local/bin/setup_postgresql.py
ADD ./export_user_files.py /usr/local/bin/export_user_files.py
# Configure PostgreSQL
# 1. Remove all old configuration
# 2. Create DB-user 'galaxy' with password 'galaxy' in database 'galaxy'
# 3. Create Galaxy Admin User 'admin@galaxy.org' with password 'admin' and API key 'admin'
RUN service postgresql stop
RUN rm $PG_DATA_DIR_DEFAULT -rf
RUN python /usr/local/bin/setup_postgresql.py --dbuser galaxy --dbpassword galaxy --db-name galaxy --dbpath $PG_DATA_DIR_DEFAULT
RUN service postgresql start && sh create_db.sh -c $GALAXY_CONFIG_FILE
ADD ./create_galaxy_user.py /usr/local/bin/create_galaxy_user.py
RUN service postgresql start && sleep 5 && python /usr/local/bin/create_galaxy_user.py --user admin@galaxy.org --password admin -c $GALAXY_CONFIG_FILE --key admin
ADD ./startup.sh /usr/bin/startup
# Script that enables easier downstream installation of tools (e.g. for different Galaxy Docker flavours)
ADD install_repo_wrapper.sh /usr/bin/install-repository
RUN chmod +x /usr/bin/install-repository /usr/bin/startup
# This needs to happen here and not above, otherwise the Galaxy start
# (without running the startup.sh script) will crash because integrated_tool_panel.xml could not be found.
ENV GALAXY_CONFIG_INTEGRATED_TOOL_PANEL_CONFIG /export/galaxy-central/integrated_tool_panel.xml
ADD ./cgroupfs_mount.sh /root/cgroupfs_mount.sh
# Expose port 80 (webserver), 21 (FTP server), 8800 (Proxy), 9003 (Galaxy report app), 9002 (supvisord web app)
EXPOSE :80
EXPOSE :21
EXPOSE :8800
EXPOSE :9002
EXPOSE :9003
# We need to set $HOME for some Tool Shed tools (e.g Perl libs with $HOME/.cpan)
ENV HOME /home/galaxy
# Mark folders as imported from the host.
VOLUME [""/export/"", ""/data/"", ""/var/lib/docker""]
# Autostart script that is invoked during container start
CMD [""/usr/bin/startup""]
",maintenance/other
72,bfc92a6f2cbd61268f7aadc2aebfa83bc349de08,Run docker-master/update.sh,"Run docker-master/update.sh
","FROM alpine:3.5
RUN apk add --no-cache \
ca-certificates \
curl \
openssl
ENV DOCKER_VERSION 17.05.0-dev
ENV DOCKER_URL https://master.dockerproject.org/linux/amd64/docker-17.05.0-dev.tgz
ENV DOCKER_SHA256 91adf02c6270c5e4c2ddc0ea55331d24daca615129ce50f6c7faf66b542f6648
RUN set -x \
&& curl -fSL ""${DOCKER_URL}"" -o docker.tgz \
&& echo ""${DOCKER_SHA256} *docker.tgz"" | sha256sum -c - \
&& tar -xzvf docker.tgz \
&& mv docker/* /usr/local/bin/ \
&& rmdir docker \
&& rm docker.tgz \
&& docker -v
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT [""docker-entrypoint.sh""]
CMD [""sh""]
","FROM alpine:3.5
RUN apk add --no-cache \
ca-certificates \
curl \
openssl
ENV DOCKER_VERSION 17.05.0-dev
ENV DOCKER_URL https://master.dockerproject.org/linux/amd64/docker-17.05.0-dev.tgz
ENV DOCKER_SHA256 0b342710097b09f4d290ccd5291f22dd9ea47e0126fed42f6cbfbdac7227b0a4
RUN set -x \
&& curl -fSL ""${DOCKER_URL}"" -o docker.tgz \
&& echo ""${DOCKER_SHA256} *docker.tgz"" | sha256sum -c - \
&& tar -xzvf docker.tgz \
&& mv docker/* /usr/local/bin/ \
&& rmdir docker \
&& rm docker.tgz \
&& docker -v
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT [""docker-entrypoint.sh""]
CMD [""sh""]
",code refactoring
416,ae6b23b2e0abf75a6a8d8025fd29bb8f4c881be6,Bumped source to 20220918-45cbaa4,"Bumped source to 20220918-45cbaa4
","FROM ghcr.io/dock0/arch:20220918-df7ac52
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
","FROM ghcr.io/dock0/arch:20220918-45cbaa4
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",maintenance/other
194,e9cc59f21ce3da4566e0eeb5b4399eefb2a7c036,Bumped source to 20210709-21e262d,"Bumped source to 20210709-21e262d
","FROM docker.pkg.github.com/dock0/arch/arch:20210709-6b59728
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
","FROM docker.pkg.github.com/dock0/arch/arch:20210709-21e262d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
",maintenance/other
2238,2400cd152c34e0cf92abf8e5f4190269c8a15eb7,Update Dockerfile,Update Dockerfile,"# Set the base image to use to armhf
FROM resin/rpi-raspbian:jessie
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get full-update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y vlc-nox python-gevent python-pip python-dev gcc
RUN DEBIAN_FRONTEND=noninteractive apt-get autoremove
RUN DEBIAN_FRONTEND=noninteractive apt-get clean
RUN adduser --disabled-password --gecos """" aceproxy
EXPOSE 4212 8011
USER aceproxy
ENV VLC_PLUGIN_PATH /usr/lib/vlc/plugins/
ENTRYPOINT [""/usr/bin/vlc""]
",,code refactoring
248,7542ad1ae06b92052218bd489984009145f91374,Upgrade docker image to 6.2-alpine,"Upgrade docker image to 6.2-alpine
","FROM sonarqube:5.6.3-alpine
ADD https://repo1.maven.org/maven2/org/sonarsource/clover/sonar-clover-plugin/3.1/sonar-clover-plugin-3.1.jar /opt/sonarqube/extensions/plugins/sonar-clover-plugin-3.1.jar
COPY build/libs/* /opt/sonarqube/extensions/plugins/
","FROM sonarqube:6.2-alpine
ADD https://repo1.maven.org/maven2/org/sonarsource/clover/sonar-clover-plugin/3.1/sonar-clover-plugin-3.1.jar /opt/sonarqube/extensions/plugins/sonar-clover-plugin-3.1.jar
COPY build/libs/* /opt/sonarqube/extensions/plugins/
",code refactoring
2288,319e4a95342e1c67e76129ff8ac82c5841a2cf65,Update Dockerfile,"Update Dockerfile
Refactoring, added version based on /etc/redhat-release.","FROM centos
MAINTAINER Robert de Bock <robert@meinit.nl>
LABEL Description=""Base CentOS OpenSSH server image"" Version=""1.0""
RUN yum -y install openssh openssh-server openssh-clients epel-release && yum -y clean all
CMD test -f /etc/ssh/ssh_host_ecdsa_key || /usr/bin/ssh-keygen -q -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -C '' -N ''&& \
test -f /etc/ssh/ssh_host_rsa_key || /usr/bin/ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N ''&& \
test -f /etc/ssh/ssh_host_ed25519_key || /usr/bin/ssh-keygen -q -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -C '' -N ''&& \
test -f /root/.ssh/id_dsa || /usr/bin/ssh-keygen -t dsa -f /root/.ssh/id_dsa -N '' && \
test -f /root/.ssh/id_dsa.pub || ssh-keygen -y -t dsa -f ~/.ssh/id_dsa > ~/.ssh/id_dsa.pub && \
test -f /root/.ssh/authorized_keys || /usr/bin/cp /root/.ssh/id_dsa.pub /root/.ssh/authorized_keys && \
/usr/bin/cat /root/.ssh/id_dsa && \
/usr/bin/echo """" && \
/usr/bin/echo ""Please save the printed private DSA key and login using:"" && \
/usr/bin/echo ""\""ssh -i \${savedkey} root@\${ipaddress}\"""" && \
/usr/sbin/sshd -D
EXPOSE 22
",,code refactoring
348,8e979fcf3a9277d313dae08e038980f12d6da59f,docker base update,"docker base update
","FROM node:12-alpine
MAINTAINER LD
ENV HOME_DIR=/opt/app
RUN mkdir -p /opt/docker-bin && mkdir -p $HOME_DIR
ADD docker-entrypoint.sh /opt/docker-bin/
RUN chmod +x /opt/docker-bin/docker-entrypoint.sh
RUN rm -rf /root/src /tmp/* /usr/share/man /var/cache/apk/* \
/root/.npm /root/.node-gyp /usr/lib/node_modules/npm/man \
/usr/lib/node_modules/npm/doc /usr/lib/node_modules/npm/html
ENTRYPOINT [""/opt/docker-bin/docker-entrypoint.sh""]
","FROM node:14-alpine
MAINTAINER LD
ENV HOME_DIR=/opt/app
RUN mkdir -p /opt/docker-bin && mkdir -p $HOME_DIR
ADD docker-entrypoint.sh /opt/docker-bin/
RUN chmod +x /opt/docker-bin/docker-entrypoint.sh
RUN rm -rf /root/src /tmp/* /usr/share/man /var/cache/apk/* \
/root/.npm /root/.node-gyp /usr/lib/node_modules/npm/man \
/usr/lib/node_modules/npm/doc /usr/lib/node_modules/npm/html
RUN npm install -g npm
ENTRYPOINT [""/opt/docker-bin/docker-entrypoint.sh""]
",code refactoring
144,dff28d771858d19d49036110d0457f5433e28bfe,update: php-fpm Dockfile,"update: php-fpm Dockfile
","#
#--------------------------------------------------------------------------
# Image Setup
#--------------------------------------------------------------------------
#
# To edit the 'php-fpm' base Image, visit its repository on Github
# https://github.com/Laradock/php-fpm
#
# To change its version, see the available Tags on the Docker Hub:
# https://hub.docker.com/r/laradock/php-fpm/tags/
#
# Note: Base Image name format {image-tag}-{php-version}
#
ARG LARADOCK_PHP_VERSION
ARG BASE_IMAGE_TAG_PREFIX=latest
FROM laradock/php-fpm:${BASE_IMAGE_TAG_PREFIX}-${LARADOCK_PHP_VERSION}
LABEL maintainer=""Mahmoud Zalt <mahmoud@zalt.me>""
ARG LARADOCK_PHP_VERSION
# Set Environment Variables
ENV DEBIAN_FRONTEND noninteractive
# If you're in China, or you need to change sources, will be set CHANGE_SOURCE to true in .env.
ARG CHANGE_SOURCE=false
RUN if [ ${CHANGE_SOURCE} = true ]; then \
# Change application source from deb.debian.org to aliyun source
sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list && \
sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list && \
sed -i 's/security-cdn.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list \
;fi
# always run apt update when start and after add new source list, then clean up at end.
RUN set -xe; \
apt-get update -yqq && \
pecl channel-update pecl.php.net && \
apt-get install -yqq \
apt-utils \
#
#--------------------------------------------------------------------------
# Mandatory Software's Installation
#--------------------------------------------------------------------------
#
# Mandatory Software's such as (""mcrypt"", ""pdo_mysql"", ""libssl-dev"", ....)
# are installed on the base image 'laradock/php-fpm' image. If you want
# to add more Software's or remove existing one, you need to edit the
# base image (https://github.com/Laradock/php-fpm).
#
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
libzip-dev zip unzip && \
if [ ${LARADOCK_PHP_VERSION} = ""7.3"" ] || [ ${LARADOCK_PHP_VERSION} = ""7.4"" ]; then \
docker-php-ext-configure zip; \
else \
docker-php-ext-configure zip --with-libzip; \
fi && \
# Install the zip extension
docker-php-ext-install zip && \
php -m | grep -q 'zip'
#
#--------------------------------------------------------------------------
# Optional Software's Installation
#--------------------------------------------------------------------------
#
# Optional Software's will only be installed if you set them to `true`
# in the `docker-compose.yml` before the build.
# Example:
# - INSTALL_SOAP=true
#
###########################################################################
# BZ2:
###########################################################################
ARG INSTALL_BZ2=false
RUN if [ ${INSTALL_BZ2} = true ]; then \
apt-get -y install libbz2-dev; \
docker-php-ext-install bz2 \
;fi
###########################################################################
# GMP (GNU Multiple Precision):
###########################################################################
ARG INSTALL_GMP=false
RUN if [ ${INSTALL_GMP} = true ]; then \
# Install the GMP extension
apt-get install -y libgmp-dev && \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h \
;fi && \
docker-php-ext-install gmp \
;fi
###########################################################################
# SSH2:
###########################################################################
ARG INSTALL_SSH2=false
RUN if [ ${INSTALL_SSH2} = true ]; then \
# Install the ssh2 extension
apt-get -y install libssh2-1-dev && \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -a ssh2-0.13; \
else \
pecl install -a ssh2-1.2; \
fi && \
docker-php-ext-enable ssh2 \
;fi
###########################################################################
# libfaketime:
###########################################################################
USER root
ARG INSTALL_FAKETIME=false
RUN if [ ${INSTALL_FAKETIME} = true ]; then \
apt-get install -y libfaketime \
;fi
###########################################################################
# SOAP:
###########################################################################
ARG INSTALL_SOAP=false
RUN if [ ${INSTALL_SOAP} = true ]; then \
# Install the soap extension
rm /etc/apt/preferences.d/no-debian-php && \
apt-get -y install libxml2-dev php-soap && \
docker-php-ext-install soap \
;fi
###########################################################################
# XSL:
###########################################################################
ARG INSTALL_XSL=false
RUN if [ ${INSTALL_XSL} = true ]; then \
# Install the xsl extension
apt-get -y install libxslt-dev && \
docker-php-ext-install xsl \
;fi
###########################################################################
# pgsql
###########################################################################
ARG INSTALL_PGSQL=false
RUN if [ ${INSTALL_PGSQL} = true ]; then \
# Install the pgsql extension
docker-php-ext-install pgsql \
;fi
###########################################################################
# pgsql client
###########################################################################
ARG INSTALL_PG_CLIENT=false
ARG INSTALL_POSTGIS=false
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
# Create folders if not exists (https://github.com/tianon/docker-brew-debian/issues/65)
mkdir -p /usr/share/man/man1 && \
mkdir -p /usr/share/man/man7 && \
# Install the pgsql client
apt-get install -y postgresql-client && \
if [ ${INSTALL_POSTGIS} = true ]; then \
apt-get install -y postgis; \
fi \
;fi
###########################################################################
# xDebug:
###########################################################################
ARG INSTALL_XDEBUG=false
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Install the xdebug extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install xdebug-2.5.5; \
else \
if [ $(php -r ""echo PHP_MINOR_VERSION;"") = ""0"" ]; then \
pecl install xdebug-2.9.0; \
else \
pecl install xdebug; \
fi \
fi && \
docker-php-ext-enable xdebug \
;fi
# Copy xdebug configuration for remote debugging
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
RUN sed -i ""s/xdebug.remote_autostart=0/xdebug.remote_autostart=1/"" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i ""s/xdebug.remote_enable=0/xdebug.remote_enable=1/"" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i ""s/xdebug.cli_color=0/xdebug.cli_color=1/"" /usr/local/etc/php/conf.d/xdebug.ini
###########################################################################
# pcov:
###########################################################################
USER root
ARG INSTALL_PCOV=false
RUN if [ ${INSTALL_PCOV} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""7"" ]; then \
if [ $(php -r ""echo PHP_MINOR_VERSION;"") != ""0"" ]; then \
pecl install pcov && \
docker-php-ext-enable pcov \
;fi \
;fi \
;fi
###########################################################################
# Phpdbg:
###########################################################################
ARG INSTALL_PHPDBG=false
RUN if [ ${INSTALL_PHPDBG} = true ]; then \
# Load the xdebug extension only with phpunit commands
apt-get install -y --force-yes php${LARADOCK_PHP_VERSION}-phpdbg \
;fi
###########################################################################
# Blackfire:
###########################################################################
ARG INSTALL_BLACKFIRE=false
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
version=$(php -r ""echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;"") \
&& curl -A ""Docker"" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp \
&& mv /tmp/blackfire-*.so $(php -r ""echo ini_get('extension_dir');"")/blackfire.so \
&& printf ""extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n"" > $PHP_INI_DIR/conf.d/blackfire.ini \
;fi
###########################################################################
# PHP REDIS EXTENSION
###########################################################################
ARG INSTALL_PHPREDIS=false
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
# Install Php Redis Extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -o -f redis-4.3.0; \
else \
pecl install -o -f redis; \
fi \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable redis \
;fi
###########################################################################
# Swoole EXTENSION
###########################################################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install swoole-2.0.10; \
else \
if [ $(php -r ""echo PHP_MINOR_VERSION;"") = ""0"" ]; then \
pecl install swoole-2.2.0; \
else \
pecl install swoole; \
fi \
fi && \
docker-php-ext-enable swoole \
&& php -m | grep -q 'swoole' \
;fi
###########################################################################
# Taint EXTENSION
###########################################################################
ARG INSTALL_TAINT=false
RUN if [ ${INSTALL_TAINT} = true ]; then \
# Install Php TAINT Extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""7"" ]; then \
pecl install taint && \
docker-php-ext-enable taint && \
php -m | grep -q 'taint'; \
fi \
;fi
###########################################################################
# MongoDB:
###########################################################################
ARG INSTALL_MONGO=false
RUN if [ ${INSTALL_MONGO} = true ]; then \
# Install the mongodb extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install mongo && \
docker-php-ext-enable mongo \
;fi && \
pecl install mongodb && \
docker-php-ext-enable mongodb \
;fi
###########################################################################
# Xhprof:
###########################################################################
ARG INSTALL_XHPROF=false
RUN if [ ${INSTALL_XHPROF} = true ]; then \
# Install the php xhprof extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = 7 ]; then \
curl -L -o /tmp/xhprof.tar.gz ""https://github.com/tideways/php-xhprof-extension/archive/v5.0.1.tar.gz""; \
else \
curl -L -o /tmp/xhprof.tar.gz ""https://codeload.github.com/phacility/xhprof/tar.gz/master""; \
fi \
&& mkdir -p xhprof \
&& tar -C xhprof -zxvf /tmp/xhprof.tar.gz --strip 1 \
&& ( \
cd xhprof \
&& phpize \
&& ./configure \
&& make \
&& make install \
) \
&& rm -r xhprof \
&& rm /tmp/xhprof.tar.gz \
;fi
COPY ./xhprof.ini /usr/local/etc/php/conf.d
RUN if [ ${INSTALL_XHPROF} = false ]; then \
rm /usr/local/etc/php/conf.d/xhprof.ini \
;fi
###########################################################################
# AMQP:
###########################################################################
ARG INSTALL_AMQP=false
RUN if [ ${INSTALL_AMQP} = true ]; then \
# download and install manually, to make sure it's compatible with ampq installed by pecl later
# install cmake first
apt-get -y install cmake && \
curl -L -o /tmp/rabbitmq-c.tar.gz https://github.com/alanxz/rabbitmq-c/archive/master.tar.gz && \
mkdir -p rabbitmq-c && \
tar -C rabbitmq-c -zxvf /tmp/rabbitmq-c.tar.gz --strip 1 && \
cd rabbitmq-c/ && \
mkdir _build && cd _build/ && \
cmake .. && \
cmake --build . --target install && \
# Install the amqp extension
pecl install amqp && \
docker-php-ext-enable amqp && \
# Install the sockets extension
docker-php-ext-install sockets \
;fi
###########################################################################
# GEARMAN:
###########################################################################
ARG INSTALL_GEARMAN=false
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
apt-get -y install libgearman-dev && \
cd /tmp && \
curl -L https://github.com/wcgallego/pecl-gearman/archive/gearman-2.0.5.zip -O && \
unzip gearman-2.0.5.zip && \
mv pecl-gearman-gearman-2.0.5 pecl-gearman && \
cd /tmp/pecl-gearman && \
phpize && \
./configure && \
make -j$(nproc) && \
make install && \
cd / && \
rm /tmp/gearman-2.0.5.zip && \
rm -r /tmp/pecl-gearman && \
docker-php-ext-enable gearman \
;fi
###########################################################################
# pcntl
###########################################################################
ARG INSTALL_PCNTL=false
RUN if [ ${INSTALL_PCNTL} = true ]; then \
# Installs pcntl, helpful for running Horizon
docker-php-ext-install pcntl \
;fi
###########################################################################
# bcmath:
###########################################################################
ARG INSTALL_BCMATH=false
RUN if [ ${INSTALL_BCMATH} = true ]; then \
# Install the bcmath extension
docker-php-ext-install bcmath \
;fi
###########################################################################
# PHP Memcached:
###########################################################################
ARG INSTALL_MEMCACHED=false
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
# Install the php memcached extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install memcached-2.2.0; \
else \
pecl install memcached-3.1.3; \
fi \
&& docker-php-ext-enable memcached \
;fi
###########################################################################
# Exif:
###########################################################################
ARG INSTALL_EXIF=false
RUN if [ ${INSTALL_EXIF} = true ]; then \
# Enable Exif PHP extentions requirements
docker-php-ext-install exif \
;fi
###########################################################################
# PHP Aerospike:
###########################################################################
USER root
ARG INSTALL_AEROSPIKE=false
RUN set -xe; \
if [ ${INSTALL_AEROSPIKE} = true ]; then \
# Fix dependencies for PHPUnit within aerospike extension
apt-get -y install sudo wget && \
# Install the php aerospike extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
curl -L -o /tmp/aerospike-client-php.tar.gz https://github.com/aerospike/aerospike-client-php5/archive/master.tar.gz; \
else \
curl -L -o /tmp/aerospike-client-php.tar.gz https://github.com/aerospike/aerospike-client-php/archive/master.tar.gz; \
fi \
&& mkdir -p /tmp/aerospike-client-php \
&& tar -C /tmp/aerospike-client-php -zxvf /tmp/aerospike-client-php.tar.gz --strip 1 \
&& \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
( \
cd /tmp/aerospike-client-php/src/aerospike \
&& phpize \
&& ./build.sh \
&& make install \
) \
else \
( \
cd /tmp/aerospike-client-php/src \
&& phpize \
&& ./build.sh \
&& make install \
) \
fi \
&& rm /tmp/aerospike-client-php.tar.gz \
&& docker-php-ext-enable aerospike \
;fi
###########################################################################
# PHP OCI8:
###########################################################################
ARG INSTALL_OCI8=false
ENV LD_LIBRARY_PATH=""/opt/oracle/instantclient_12_1""
ENV OCI_HOME=""/opt/oracle/instantclient_12_1""
ENV OCI_LIB_DIR=""/opt/oracle/instantclient_12_1""
ENV OCI_INCLUDE_DIR=""/opt/oracle/instantclient_12_1/sdk/include""
ENV OCI_VERSION=12
RUN if [ ${INSTALL_OCI8} = true ]; then \
# Install wget
apt-get update && apt-get install --no-install-recommends -y wget \
# Install Oracle Instantclient
&& mkdir /opt/oracle \
&& cd /opt/oracle \
&& wget https://github.com/diogomascarenha/oracle-instantclient/raw/master/instantclient-basic-linux.x64-12.1.0.2.0.zip \
&& wget https://github.com/diogomascarenha/oracle-instantclient/raw/master/instantclient-sdk-linux.x64-12.1.0.2.0.zip \
&& unzip /opt/oracle/instantclient-basic-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& unzip /opt/oracle/instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& ln -s /opt/oracle/instantclient_12_1/libclntsh.so.12.1 /opt/oracle/instantclient_12_1/libclntsh.so \
&& ln -s /opt/oracle/instantclient_12_1/libclntshcore.so.12.1 /opt/oracle/instantclient_12_1/libclntshcore.so \
&& ln -s /opt/oracle/instantclient_12_1/libocci.so.12.1 /opt/oracle/instantclient_12_1/libocci.so \
&& rm -rf /opt/oracle/*.zip \
# Install PHP extensions deps
&& apt-get update \
&& apt-get install --no-install-recommends -y \
libaio-dev \
freetds-dev && \
# Install PHP extensions
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \
else \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
fi \
&& docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_12_1,12.1 \
&& docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \
&& docker-php-ext-install \
pdo_oci \
&& docker-php-ext-enable \
oci8 \
;fi
###########################################################################
# IonCube Loader:
###########################################################################
ARG INSTALL_IONCUBE=false
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
# Install the php ioncube loader
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
&& tar zxpf /tmp/ioncube_loaders_lin_x86-64.tar.gz -C /tmp \
&& mv /tmp/ioncube/ioncube_loader_lin_${LARADOCK_PHP_VERSION}.so $(php -r ""echo ini_get('extension_dir');"")/ioncube_loader.so \
&& printf ""zend_extension=ioncube_loader.so\n"" > $PHP_INI_DIR/conf.d/0ioncube.ini \
&& rm -rf /tmp/ioncube* \
;fi
###########################################################################
# Opcache:
###########################################################################
ARG INSTALL_OPCACHE=false
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
docker-php-ext-install opcache \
;fi
# Copy opcache configration
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
###########################################################################
# Mysqli Modifications:
###########################################################################
ARG INSTALL_MYSQLI=false
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
docker-php-ext-install mysqli \
;fi
###########################################################################
# Human Language and Character Encoding Support:
###########################################################################
ARG INSTALL_INTL=false
RUN if [ ${INSTALL_INTL} = true ]; then \
# Install intl and requirements
apt-get install -y zlib1g-dev libicu-dev g++ && \
docker-php-ext-configure intl && \
docker-php-ext-install intl \
;fi
###########################################################################
# GHOSTSCRIPT:
###########################################################################
ARG INSTALL_GHOSTSCRIPT=false
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
# Install the ghostscript extension
# for PDF editing
apt-get install -y \
poppler-utils \
ghostscript \
;fi
###########################################################################
# LDAP:
###########################################################################
ARG INSTALL_LDAP=false
RUN if [ ${INSTALL_LDAP} = true ]; then \
apt-get install -y libldap2-dev && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-install ldap \
;fi
###########################################################################
# SQL SERVER:
###########################################################################
ARG INSTALL_MSSQL=false
RUN set -eux; \
if [ ${INSTALL_MSSQL} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
apt-get -y install freetds-dev libsybdb5 \
&& ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so \
&& docker-php-ext-install mssql pdo_dblib \
&& php -m | grep -q 'mssql' \
&& php -m | grep -q 'pdo_dblib' \
;else \
###########################################################################
# Ref from https://github.com/Microsoft/msphpsql/wiki/Dockerfile-for-adding-pdo_sqlsrv-and-sqlsrv-to-official-php-image
###########################################################################
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux
apt-get install -y apt-transport-https gnupg \
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
&& curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list \
&& apt-get update -yqq \
# Install Dependencies
&& ACCEPT_EULA=Y apt-get install -y unixodbc unixodbc-dev libgss3 odbcinst msodbcsql17 locales \
&& echo ""en_US.UTF-8 UTF-8"" > /etc/locale.gen \
# link local aliases
&& ln -sfn /etc/locale.alias /usr/share/locale/locale.alias \
&& locale-gen \
# Install pdo_sqlsrv and sqlsrv from PECL. Replace pdo_sqlsrv-4.1.8preview with preferred version.
&& if [ $(php -r ""echo PHP_MINOR_VERSION;"") = ""0"" ]; then \
pecl install pdo_sqlsrv-5.3.0 sqlsrv-5.3.0 \
;else \
pecl install pdo_sqlsrv sqlsrv \
;fi \
&& docker-php-ext-enable pdo_sqlsrv sqlsrv \
&& php -m | grep -q 'pdo_sqlsrv' \
&& php -m | grep -q 'sqlsrv' \
;fi \
;fi
###########################################################################
# Image optimizers:
###########################################################################
USER root
ARG INSTALL_IMAGE_OPTIMIZERS=false
RUN if [ ${INSTALL_IMAGE_OPTIMIZERS} = true ]; then \
apt-get install -y jpegoptim optipng pngquant gifsicle \
;fi
###########################################################################
# ImageMagick:
###########################################################################
USER root
ARG INSTALL_IMAGEMAGICK=false
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get install -y libmagickwand-dev imagemagick && \
pecl install imagick && \
docker-php-ext-enable imagick \
;fi
###########################################################################
# SMB:
###########################################################################
ARG INSTALL_SMB=false
RUN if [ ${INSTALL_SMB} = true ]; then \
apt-get install -y smbclient php-smbclient coreutils \
;fi
###########################################################################
# IMAP:
###########################################################################
ARG INSTALL_IMAP=false
RUN if [ ${INSTALL_IMAP} = true ]; then \
apt-get install -y libc-client-dev libkrb5-dev && \
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install imap \
;fi
###########################################################################
# Calendar:
###########################################################################
USER root
ARG INSTALL_CALENDAR=false
RUN if [ ${INSTALL_CALENDAR} = true ]; then \
docker-php-ext-configure calendar && \
docker-php-ext-install calendar \
;fi
###########################################################################
# Phalcon:
###########################################################################
ARG INSTALL_PHALCON=false
ARG LARADOCK_PHALCON_VERSION
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
# Copy phalcon configration
COPY ./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini.disable
RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get update && apt-get install -y unzip libpcre3-dev gcc make re2c \
&& curl -L -o /tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v${LARADOCK_PHALCON_VERSION}.zip \
&& unzip -d /tmp/ /tmp/cphalcon.zip \
&& cd /tmp/cphalcon-${LARADOCK_PHALCON_VERSION}/build \
&& ./install \
&& mv /usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini \
&& rm -rf /tmp/cphalcon* \
;fi
###########################################################################
# APCU:
###########################################################################
ARG INSTALL_APCU=false
RUN if [ ${INSTALL_APCU} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -a apcu-4.0.11; \
else \
pecl install apcu; \
fi && \
docker-php-ext-enable apcu \
;fi
###########################################################################
# YAML:
###########################################################################
USER root
ARG INSTALL_YAML=false
RUN if [ ${INSTALL_YAML} = true ]; then \
apt-get install libyaml-dev -y ; \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -a yaml-1.3.2; \
else \
pecl install yaml; \
fi && \
docker-php-ext-enable yaml \
;fi
###########################################################################
# RDKAFKA:
###########################################################################
ARG INSTALL_RDKAFKA=false
RUN if [ ${INSTALL_RDKAFKA} = true ]; then \
apt-get install -y librdkafka-dev && \
pecl install rdkafka && \
docker-php-ext-enable rdkafka \
;fi
###########################################################################
# GETTEXT:
###########################################################################
ARG INSTALL_GETTEXT=false
RUN if [ ${INSTALL_GETTEXT} = true ]; then \
apt-get install -y zlib1g-dev libicu-dev g++ libpq-dev libssl-dev gettext && \
docker-php-ext-install gettext \
;fi
###########################################################################
# Install additional locales:
###########################################################################
ARG INSTALL_ADDITIONAL_LOCALES=false
ARG ADDITIONAL_LOCALES
RUN if [ ${INSTALL_ADDITIONAL_LOCALES} = true ]; then \
apt-get install -y locales \
&& echo '' >> /usr/share/locale/locale.alias \
&& temp=""${ADDITIONAL_LOCALES%\""}"" \
&& temp=""${temp#\""}"" \
&& for i in ${temp}; do sed -i ""/$i/s/^#//g"" /etc/locale.gen; done \
&& locale-gen \
;fi
###########################################################################
# MySQL Client:
###########################################################################
USER root
ARG INSTALL_MYSQL_CLIENT=false
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
apt-get -y install default-mysql-client \
;fi
###########################################################################
# ping:
###########################################################################
USER root
ARG INSTALL_PING=false
RUN if [ ${INSTALL_PING} = true ]; then \
apt-get -y install inetutils-ping \
;fi
###########################################################################
# sshpass:
###########################################################################
USER root
ARG INSTALL_SSHPASS=false
RUN if [ ${INSTALL_SSHPASS} = true ]; then \
apt-get -y install sshpass \
;fi
###########################################################################
# FFMPEG:
###########################################################################
USER root
ARG INSTALL_FFMPEG=false
RUN if [ ${INSTALL_FFMPEG} = true ]; then \
apt-get -y install ffmpeg \
;fi
#####################################
# wkhtmltopdf:
#####################################
USER root
ARG INSTALL_WKHTMLTOPDF=false
RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
apt-get install -y \
libxrender1 \
libfontconfig1 \
libx11-dev \
libjpeg62 \
libxtst6 \
wget \
&& wget https://github.com/h4cc/wkhtmltopdf-amd64/blob/master/bin/wkhtmltopdf-amd64?raw=true -O /usr/local/bin/wkhtmltopdf \
&& chmod +x /usr/local/bin/wkhtmltopdf \
;fi
###########################################################################
# Mailparse extension:
###########################################################################
ARG INSTALL_MAILPARSE=false
RUN if [ ${INSTALL_MAILPARSE} = true ]; then \
# Install mailparse extension
printf ""\n"" | pecl install -o -f mailparse \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable mailparse \
;fi
###########################################################################
# CacheTool:
###########################################################################
ARG INSTALL_CACHETOOL=false
RUN if [ ${INSTALL_CACHETOOL} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""7"" ] && [ $(php -r ""echo PHP_MINOR_VERSION;"") -ge 1 ]; then \
curl -sO http://gordalina.github.io/cachetool/downloads/cachetool.phar; \
else \
curl http://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar -o cachetool.phar; \
fi && \
chmod +x cachetool.phar && \
mv cachetool.phar /usr/local/bin/cachetool \
;fi
###########################################################################
# Check PHP version:
###########################################################################
RUN set -xe; php -v | head -n 1 | grep -q ""PHP ${LARADOCK_PHP_VERSION}.""
#
#--------------------------------------------------------------------------
# Final Touch
#--------------------------------------------------------------------------
#
COPY ./laravel.ini /usr/local/etc/php/conf.d
COPY ./xlaravel.pool.conf /usr/local/etc/php-fpm.d/
USER root
# Clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
rm /var/log/lastlog /var/log/faillog
# Configure non-root user.
ARG PUID=1000
ENV PUID ${PUID}
ARG PGID=1000
ENV PGID ${PGID}
RUN groupmod -o -g ${PGID} www-data && \
usermod -o -u ${PUID} -g www-data www-data
# Adding the faketime library to the preload file needs to be done last
# otherwise it will preload it for all commands that follow in this file
RUN if [ ${INSTALL_FAKETIME} = true ]; then \
echo ""/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1"" > /etc/ld.so.preload \
;fi
# Configure locale.
ARG LOCALE=POSIX
ENV LC_ALL ${LOCALE}
WORKDIR /var/www
CMD [""php-fpm""]
EXPOSE 9000
","#
#--------------------------------------------------------------------------
# Image Setup
#--------------------------------------------------------------------------
#
# To edit the 'php-fpm' base Image, visit its repository on Github
# https://github.com/Laradock/php-fpm
#
# To change its version, see the available Tags on the Docker Hub:
# https://hub.docker.com/r/laradock/php-fpm/tags/
#
# Note: Base Image name format {image-tag}-{php-version}
#
ARG LARADOCK_PHP_VERSION
ARG BASE_IMAGE_TAG_PREFIX=latest
FROM laradock/php-fpm:${BASE_IMAGE_TAG_PREFIX}-${LARADOCK_PHP_VERSION}
LABEL maintainer=""Mahmoud Zalt <mahmoud@zalt.me>""
ARG LARADOCK_PHP_VERSION
# Set Environment Variables
ENV DEBIAN_FRONTEND noninteractive
# If you're in China, or you need to change sources, will be set CHANGE_SOURCE to true in .env.
ARG CHANGE_SOURCE=false
RUN if [ ${CHANGE_SOURCE} = true ]; then \
# Change application source from deb.debian.org to aliyun source
sed -i 's/deb.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list && \
sed -i 's/security.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list && \
sed -i 's/security-cdn.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list \
;fi
# always run apt update when start and after add new source list, then clean up at end.
RUN set -xe; \
apt-get update -yqq && \
pecl channel-update pecl.php.net && \
apt-get install -yqq \
apt-utils \
#
#--------------------------------------------------------------------------
# Mandatory Software's Installation
#--------------------------------------------------------------------------
#
# Mandatory Software's such as (""mcrypt"", ""pdo_mysql"", ""libssl-dev"", ....)
# are installed on the base image 'laradock/php-fpm' image. If you want
# to add more Software's or remove existing one, you need to edit the
# base image (https://github.com/Laradock/php-fpm).
#
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
libzip-dev zip unzip && \
if [ ${LARADOCK_PHP_VERSION} = ""7.3"" ] || [ ${LARADOCK_PHP_VERSION} = ""7.4"" ]; then \
docker-php-ext-configure zip; \
else \
docker-php-ext-configure zip --with-libzip; \
fi && \
# Install the zip extension
docker-php-ext-install zip && \
php -m | grep -q 'zip'
#
#--------------------------------------------------------------------------
# Optional Software's Installation
#--------------------------------------------------------------------------
#
# Optional Software's will only be installed if you set them to `true`
# in the `docker-compose.yml` before the build.
# Example:
# - INSTALL_SOAP=true
#
###########################################################################
# BZ2:
###########################################################################
ARG INSTALL_BZ2=false
RUN if [ ${INSTALL_BZ2} = true ]; then \
apt-get -y install libbz2-dev; \
docker-php-ext-install bz2 \
;fi
###########################################################################
# GMP (GNU Multiple Precision):
###########################################################################
ARG INSTALL_GMP=false
RUN if [ ${INSTALL_GMP} = true ]; then \
# Install the GMP extension
apt-get install -y libgmp-dev && \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h \
;fi && \
docker-php-ext-install gmp \
;fi
###########################################################################
# SSH2:
###########################################################################
ARG INSTALL_SSH2=false
RUN if [ ${INSTALL_SSH2} = true ]; then \
# Install the ssh2 extension
apt-get -y install libssh2-1-dev && \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -a ssh2-0.13; \
else \
pecl install -a ssh2-1.2; \
fi && \
docker-php-ext-enable ssh2 \
;fi
###########################################################################
# libfaketime:
###########################################################################
USER root
ARG INSTALL_FAKETIME=false
RUN if [ ${INSTALL_FAKETIME} = true ]; then \
apt-get install -y libfaketime \
;fi
###########################################################################
# SOAP:
###########################################################################
ARG INSTALL_SOAP=false
RUN if [ ${INSTALL_SOAP} = true ]; then \
# Install the soap extension
rm /etc/apt/preferences.d/no-debian-php && \
apt-get -y install libxml2-dev php-soap && \
docker-php-ext-install soap \
;fi
###########################################################################
# XSL:
###########################################################################
ARG INSTALL_XSL=false
RUN if [ ${INSTALL_XSL} = true ]; then \
# Install the xsl extension
apt-get -y install libxslt-dev && \
docker-php-ext-install xsl \
;fi
###########################################################################
# pgsql
###########################################################################
ARG INSTALL_PGSQL=false
RUN if [ ${INSTALL_PGSQL} = true ]; then \
# Install the pgsql extension
docker-php-ext-install pgsql \
;fi
###########################################################################
# pgsql client
###########################################################################
ARG INSTALL_PG_CLIENT=false
ARG INSTALL_POSTGIS=false
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
# Create folders if not exists (https://github.com/tianon/docker-brew-debian/issues/65)
mkdir -p /usr/share/man/man1 && \
mkdir -p /usr/share/man/man7 && \
# Install the pgsql client
apt-get install -y postgresql-client && \
if [ ${INSTALL_POSTGIS} = true ]; then \
apt-get install -y postgis; \
fi \
;fi
###########################################################################
# xDebug:
###########################################################################
ARG INSTALL_XDEBUG=false
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Install the xdebug extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install xdebug-2.5.5; \
else \
if [ $(php -r ""echo PHP_MINOR_VERSION;"") = ""0"" ]; then \
pecl install xdebug-2.9.0; \
else \
pecl install xdebug; \
fi \
fi && \
docker-php-ext-enable xdebug \
;fi
# Copy xdebug configuration for remote debugging
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
RUN sed -i ""s/xdebug.remote_autostart=0/xdebug.remote_autostart=1/"" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i ""s/xdebug.remote_enable=0/xdebug.remote_enable=1/"" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i ""s/xdebug.cli_color=0/xdebug.cli_color=1/"" /usr/local/etc/php/conf.d/xdebug.ini
###########################################################################
# pcov:
###########################################################################
USER root
ARG INSTALL_PCOV=false
RUN if [ ${INSTALL_PCOV} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""7"" ]; then \
if [ $(php -r ""echo PHP_MINOR_VERSION;"") != ""0"" ]; then \
pecl install pcov && \
docker-php-ext-enable pcov \
;fi \
;fi \
;fi
###########################################################################
# Phpdbg:
###########################################################################
ARG INSTALL_PHPDBG=false
RUN if [ ${INSTALL_PHPDBG} = true ]; then \
# Load the xdebug extension only with phpunit commands
apt-get install -y --force-yes php${LARADOCK_PHP_VERSION}-phpdbg \
;fi
###########################################################################
# Blackfire:
###########################################################################
ARG INSTALL_BLACKFIRE=false
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
version=$(php -r ""echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;"") \
&& curl -A ""Docker"" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp \
&& mv /tmp/blackfire-*.so $(php -r ""echo ini_get('extension_dir');"")/blackfire.so \
&& printf ""extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n"" > $PHP_INI_DIR/conf.d/blackfire.ini \
;fi
###########################################################################
# PHP REDIS EXTENSION
###########################################################################
ARG INSTALL_PHPREDIS=false
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
# Install Php Redis Extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -o -f redis-4.3.0; \
else \
pecl install -o -f redis; \
fi \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable redis \
;fi
###########################################################################
# Swoole EXTENSION
###########################################################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install swoole-2.0.10; \
else \
if [ $(php -r ""echo PHP_MINOR_VERSION;"") = ""0"" ]; then \
pecl install swoole-2.2.0; \
else \
pecl install swoole; \
fi \
fi && \
docker-php-ext-enable swoole \
&& php -m | grep -q 'swoole' \
;fi
###########################################################################
# Taint EXTENSION
###########################################################################
ARG INSTALL_TAINT=false
RUN if [ ${INSTALL_TAINT} = true ]; then \
# Install Php TAINT Extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""7"" ]; then \
pecl install taint && \
docker-php-ext-enable taint && \
php -m | grep -q 'taint'; \
fi \
;fi
###########################################################################
# MongoDB:
###########################################################################
ARG INSTALL_MONGO=false
RUN if [ ${INSTALL_MONGO} = true ]; then \
# Install the mongodb extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install mongo && \
docker-php-ext-enable mongo \
;fi && \
pecl install mongodb && \
docker-php-ext-enable mongodb \
;fi
###########################################################################
# Xhprof:
###########################################################################
ARG INSTALL_XHPROF=false
RUN if [ ${INSTALL_XHPROF} = true ]; then \
# Install the php xhprof extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = 7 ]; then \
curl -L -o /tmp/xhprof.tar.gz ""https://github.com/tideways/php-xhprof-extension/archive/v5.0.1.tar.gz""; \
else \
curl -L -o /tmp/xhprof.tar.gz ""https://codeload.github.com/phacility/xhprof/tar.gz/master""; \
fi \
&& mkdir -p xhprof \
&& tar -C xhprof -zxvf /tmp/xhprof.tar.gz --strip 1 \
&& ( \
cd xhprof \
&& phpize \
&& ./configure \
&& make \
&& make install \
) \
&& rm -r xhprof \
&& rm /tmp/xhprof.tar.gz \
;fi
COPY ./xhprof.ini /usr/local/etc/php/conf.d
RUN if [ ${INSTALL_XHPROF} = false ]; then \
rm /usr/local/etc/php/conf.d/xhprof.ini \
;fi
###########################################################################
# AMQP:
###########################################################################
ARG INSTALL_AMQP=false
RUN if [ ${INSTALL_AMQP} = true ]; then \
# download and install manually, to make sure it's compatible with ampq installed by pecl later
# install cmake first
apt-get -y install cmake && \
curl -L -o /tmp/rabbitmq-c.tar.gz https://github.com/alanxz/rabbitmq-c/archive/master.tar.gz && \
mkdir -p rabbitmq-c && \
tar -C rabbitmq-c -zxvf /tmp/rabbitmq-c.tar.gz --strip 1 && \
cd rabbitmq-c/ && \
mkdir _build && cd _build/ && \
cmake .. && \
cmake --build . --target install && \
# Install the amqp extension
pecl install amqp && \
docker-php-ext-enable amqp && \
# Install the sockets extension
docker-php-ext-install sockets \
;fi
###########################################################################
# GEARMAN:
###########################################################################
ARG INSTALL_GEARMAN=false
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
apt-get -y install libgearman-dev && \
cd /tmp && \
curl -L https://github.com/wcgallego/pecl-gearman/archive/gearman-2.0.5.zip -O && \
unzip gearman-2.0.5.zip && \
mv pecl-gearman-gearman-2.0.5 pecl-gearman && \
cd /tmp/pecl-gearman && \
phpize && \
./configure && \
make -j$(nproc) && \
make install && \
cd / && \
rm /tmp/gearman-2.0.5.zip && \
rm -r /tmp/pecl-gearman && \
docker-php-ext-enable gearman \
;fi
###########################################################################
# pcntl
###########################################################################
ARG INSTALL_PCNTL=false
RUN if [ ${INSTALL_PCNTL} = true ]; then \
# Installs pcntl, helpful for running Horizon
docker-php-ext-install pcntl \
;fi
###########################################################################
# bcmath:
###########################################################################
ARG INSTALL_BCMATH=false
RUN if [ ${INSTALL_BCMATH} = true ]; then \
# Install the bcmath extension
docker-php-ext-install bcmath \
;fi
###########################################################################
# PHP Memcached:
###########################################################################
ARG INSTALL_MEMCACHED=false
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
# Install the php memcached extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install memcached-2.2.0; \
else \
pecl install memcached-3.1.3; \
fi \
&& docker-php-ext-enable memcached \
;fi
###########################################################################
# Exif:
###########################################################################
ARG INSTALL_EXIF=false
RUN if [ ${INSTALL_EXIF} = true ]; then \
# Enable Exif PHP extentions requirements
docker-php-ext-install exif \
;fi
###########################################################################
# PHP Aerospike:
###########################################################################
USER root
ARG INSTALL_AEROSPIKE=false
RUN set -xe; \
if [ ${INSTALL_AEROSPIKE} = true ]; then \
# Fix dependencies for PHPUnit within aerospike extension
apt-get -y install sudo wget && \
# Install the php aerospike extension
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
curl -L -o /tmp/aerospike-client-php.tar.gz https://github.com/aerospike/aerospike-client-php5/archive/master.tar.gz; \
else \
curl -L -o /tmp/aerospike-client-php.tar.gz https://github.com/aerospike/aerospike-client-php/archive/master.tar.gz; \
fi \
&& mkdir -p /tmp/aerospike-client-php \
&& tar -C /tmp/aerospike-client-php -zxvf /tmp/aerospike-client-php.tar.gz --strip 1 \
&& \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
( \
cd /tmp/aerospike-client-php/src/aerospike \
&& phpize \
&& ./build.sh \
&& make install \
) \
else \
( \
cd /tmp/aerospike-client-php/src \
&& phpize \
&& ./build.sh \
&& make install \
) \
fi \
&& rm /tmp/aerospike-client-php.tar.gz \
&& docker-php-ext-enable aerospike \
;fi
###########################################################################
# PHP OCI8:
###########################################################################
ARG INSTALL_OCI8=false
ENV LD_LIBRARY_PATH=""/opt/oracle/instantclient_12_1""
ENV OCI_HOME=""/opt/oracle/instantclient_12_1""
ENV OCI_LIB_DIR=""/opt/oracle/instantclient_12_1""
ENV OCI_INCLUDE_DIR=""/opt/oracle/instantclient_12_1/sdk/include""
ENV OCI_VERSION=12
RUN if [ ${INSTALL_OCI8} = true ]; then \
# Install wget
apt-get update && apt-get install --no-install-recommends -y wget \
# Install Oracle Instantclient
&& mkdir /opt/oracle \
&& cd /opt/oracle \
&& wget https://github.com/diogomascarenha/oracle-instantclient/raw/master/instantclient-basic-linux.x64-12.1.0.2.0.zip \
&& wget https://github.com/diogomascarenha/oracle-instantclient/raw/master/instantclient-sdk-linux.x64-12.1.0.2.0.zip \
&& unzip /opt/oracle/instantclient-basic-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& unzip /opt/oracle/instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& ln -s /opt/oracle/instantclient_12_1/libclntsh.so.12.1 /opt/oracle/instantclient_12_1/libclntsh.so \
&& ln -s /opt/oracle/instantclient_12_1/libclntshcore.so.12.1 /opt/oracle/instantclient_12_1/libclntshcore.so \
&& ln -s /opt/oracle/instantclient_12_1/libocci.so.12.1 /opt/oracle/instantclient_12_1/libocci.so \
&& rm -rf /opt/oracle/*.zip \
# Install PHP extensions deps
&& apt-get update \
&& apt-get install --no-install-recommends -y \
libaio-dev \
freetds-dev && \
# Install PHP extensions
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \
else \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
fi \
&& docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_12_1,12.1 \
&& docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \
&& docker-php-ext-install \
pdo_oci \
&& docker-php-ext-enable \
oci8 \
;fi
###########################################################################
# IonCube Loader:
###########################################################################
ARG INSTALL_IONCUBE=false
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
# Install the php ioncube loader
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
&& tar zxpf /tmp/ioncube_loaders_lin_x86-64.tar.gz -C /tmp \
&& mv /tmp/ioncube/ioncube_loader_lin_${LARADOCK_PHP_VERSION}.so $(php -r ""echo ini_get('extension_dir');"")/ioncube_loader.so \
&& printf ""zend_extension=ioncube_loader.so\n"" > $PHP_INI_DIR/conf.d/0ioncube.ini \
&& rm -rf /tmp/ioncube* \
;fi
###########################################################################
# Opcache:
###########################################################################
ARG INSTALL_OPCACHE=false
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
docker-php-ext-install opcache \
;fi
# Copy opcache configration
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
###########################################################################
# Mysqli Modifications:
###########################################################################
ARG INSTALL_MYSQLI=false
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
docker-php-ext-install mysqli \
;fi
###########################################################################
# Human Language and Character Encoding Support:
###########################################################################
ARG INSTALL_INTL=false
RUN if [ ${INSTALL_INTL} = true ]; then \
# Install intl and requirements
apt-get install -y zlib1g-dev libicu-dev g++ && \
docker-php-ext-configure intl && \
docker-php-ext-install intl \
;fi
###########################################################################
# GHOSTSCRIPT:
###########################################################################
ARG INSTALL_GHOSTSCRIPT=false
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
# Install the ghostscript extension
# for PDF editing
apt-get install -y \
poppler-utils \
ghostscript \
;fi
###########################################################################
# LDAP:
###########################################################################
ARG INSTALL_LDAP=false
RUN if [ ${INSTALL_LDAP} = true ]; then \
apt-get install -y libldap2-dev && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-install ldap \
;fi
###########################################################################
# SQL SERVER:
###########################################################################
ARG INSTALL_MSSQL=false
RUN set -eux; \
if [ ${INSTALL_MSSQL} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
apt-get -y install freetds-dev libsybdb5 \
&& ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so \
&& docker-php-ext-install mssql pdo_dblib \
&& php -m | grep -q 'mssql' \
&& php -m | grep -q 'pdo_dblib' \
;else \
###########################################################################
# Ref from https://github.com/Microsoft/msphpsql/wiki/Dockerfile-for-adding-pdo_sqlsrv-and-sqlsrv-to-official-php-image
###########################################################################
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux
apt-get install -y apt-transport-https gnupg \
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
&& curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list \
&& apt-get update -yqq \
# Install Dependencies
&& ACCEPT_EULA=Y apt-get install -y unixodbc unixodbc-dev libgss3 odbcinst msodbcsql17 locales \
&& echo ""en_US.UTF-8 UTF-8"" > /etc/locale.gen \
# link local aliases
&& ln -sfn /etc/locale.alias /usr/share/locale/locale.alias \
&& locale-gen \
# Install pdo_sqlsrv and sqlsrv from PECL. Replace pdo_sqlsrv-4.1.8preview with preferred version.
&& if [ $(php -r ""echo PHP_MINOR_VERSION;"") = ""0"" ]; then \
pecl install pdo_sqlsrv-5.3.0 sqlsrv-5.3.0 \
;else \
pecl install pdo_sqlsrv sqlsrv \
;fi \
&& docker-php-ext-enable pdo_sqlsrv sqlsrv \
&& php -m | grep -q 'pdo_sqlsrv' \
&& php -m | grep -q 'sqlsrv' \
;fi \
;fi
###########################################################################
# Image optimizers:
###########################################################################
USER root
ARG INSTALL_IMAGE_OPTIMIZERS=false
RUN if [ ${INSTALL_IMAGE_OPTIMIZERS} = true ]; then \
apt-get install -y jpegoptim optipng pngquant gifsicle \
;fi
###########################################################################
# ImageMagick:
###########################################################################
USER root
ARG INSTALL_IMAGEMAGICK=false
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get install -y libmagickwand-dev imagemagick && \
pecl install imagick && \
docker-php-ext-enable imagick \
;fi
###########################################################################
# SMB:
###########################################################################
ARG INSTALL_SMB=false
RUN if [ ${INSTALL_SMB} = true ]; then \
apt-get install -y smbclient php-smbclient coreutils \
;fi
###########################################################################
# IMAP:
###########################################################################
ARG INSTALL_IMAP=false
RUN if [ ${INSTALL_IMAP} = true ]; then \
apt-get install -y libc-client-dev libkrb5-dev && \
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install imap \
;fi
###########################################################################
# Calendar:
###########################################################################
USER root
ARG INSTALL_CALENDAR=false
RUN if [ ${INSTALL_CALENDAR} = true ]; then \
docker-php-ext-configure calendar && \
docker-php-ext-install calendar \
;fi
###########################################################################
# Phalcon:
###########################################################################
ARG INSTALL_PHALCON=false
ARG LARADOCK_PHALCON_VERSION
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
# Copy phalcon configration
COPY ./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini.disable
RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get update && apt-get install -y unzip libpcre3-dev gcc make re2c \
&& curl -L -o /tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v${LARADOCK_PHALCON_VERSION}.zip \
&& unzip -d /tmp/ /tmp/cphalcon.zip \
&& cd /tmp/cphalcon-${LARADOCK_PHALCON_VERSION}/build \
&& ./install \
&& mv /usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini \
&& rm -rf /tmp/cphalcon* \
;fi
###########################################################################
# APCU:
###########################################################################
ARG INSTALL_APCU=false
RUN if [ ${INSTALL_APCU} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -a apcu-4.0.11; \
else \
pecl install apcu; \
fi && \
docker-php-ext-enable apcu \
;fi
###########################################################################
# YAML:
###########################################################################
USER root
ARG INSTALL_YAML=false
RUN if [ ${INSTALL_YAML} = true ]; then \
apt-get install libyaml-dev -y ; \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""5"" ]; then \
pecl install -a yaml-1.3.2; \
else \
pecl install yaml; \
fi && \
docker-php-ext-enable yaml \
;fi
###########################################################################
# RDKAFKA:
###########################################################################
ARG INSTALL_RDKAFKA=false
RUN if [ ${INSTALL_RDKAFKA} = true ]; then \
apt-get install -y librdkafka-dev && \
pecl install rdkafka && \
docker-php-ext-enable rdkafka \
;fi
###########################################################################
# GETTEXT:
###########################################################################
ARG INSTALL_GETTEXT=false
RUN if [ ${INSTALL_GETTEXT} = true ]; then \
apt-get install -y zlib1g-dev libicu-dev g++ libpq-dev libssl-dev gettext && \
docker-php-ext-install gettext \
;fi
###########################################################################
# Install additional locales:
###########################################################################
ARG INSTALL_ADDITIONAL_LOCALES=false
ARG ADDITIONAL_LOCALES
RUN if [ ${INSTALL_ADDITIONAL_LOCALES} = true ]; then \
apt-get install -y locales \
&& echo '' >> /usr/share/locale/locale.alias \
&& temp=""${ADDITIONAL_LOCALES%\""}"" \
&& temp=""${temp#\""}"" \
&& for i in ${temp}; do sed -i ""/$i/s/^#//g"" /etc/locale.gen; done \
&& locale-gen \
;fi
###########################################################################
# MySQL Client:
###########################################################################
USER root
ARG INSTALL_MYSQL_CLIENT=false
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
apt-get -y install default-mysql-client \
;fi
###########################################################################
# ping:
###########################################################################
USER root
ARG INSTALL_PING=false
RUN if [ ${INSTALL_PING} = true ]; then \
apt-get -y install inetutils-ping \
;fi
###########################################################################
# sshpass:
###########################################################################
USER root
ARG INSTALL_SSHPASS=false
RUN if [ ${INSTALL_SSHPASS} = true ]; then \
apt-get -y install sshpass \
;fi
###########################################################################
# FFMPEG:
###########################################################################
USER root
ARG INSTALL_FFMPEG=false
RUN if [ ${INSTALL_FFMPEG} = true ]; then \
apt-get -y install ffmpeg \
;fi
#####################################
# wkhtmltopdf:
#####################################
USER root
ARG INSTALL_WKHTMLTOPDF=false
RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
apt-get install -y \
libxrender1 \
libfontconfig1 \
libx11-dev \
libjpeg62 \
libxtst6 \
wget \
&& wget https://github.com/h4cc/wkhtmltopdf-amd64/blob/master/bin/wkhtmltopdf-amd64?raw=true -O /usr/local/bin/wkhtmltopdf \
&& chmod +x /usr/local/bin/wkhtmltopdf \
;fi
###########################################################################
# Mailparse extension:
###########################################################################
ARG INSTALL_MAILPARSE=false
RUN if [ ${INSTALL_MAILPARSE} = true ]; then \
# Install mailparse extension
printf ""\n"" | pecl install -o -f mailparse \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable mailparse \
;fi
###########################################################################
# CacheTool:
###########################################################################
ARG INSTALL_CACHETOOL=false
RUN if [ ${INSTALL_CACHETOOL} = true ]; then \
if [ $(php -r ""echo PHP_MAJOR_VERSION;"") = ""7"" ] && [ $(php -r ""echo PHP_MINOR_VERSION;"") -ge 1 ]; then \
curl -sO http://gordalina.github.io/cachetool/downloads/cachetool.phar; \
else \
curl http://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar -o cachetool.phar; \
fi && \
chmod +x cachetool.phar && \
mv cachetool.phar /usr/local/bin/cachetool \
;fi
###########################################################################
# Check PHP version:
###########################################################################
RUN set -xe; php -v | head -n 1 | grep -q ""PHP ${LARADOCK_PHP_VERSION}.""
#
#--------------------------------------------------------------------------
# Final Touch
#--------------------------------------------------------------------------
#
COPY ./laravel.ini /usr/local/etc/php/conf.d
COPY ./xlaravel.pool.conf /usr/local/etc/php-fpm.d/
USER root
# Clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
rm /var/log/lastlog /var/log/faillog
# Configure non-root user.
ARG PUID=1000
ENV PUID ${PUID}
ARG PGID=1000
ENV PGID ${PGID}
RUN groupmod -o -g ${PGID} www-data && \
usermod -o -u ${PUID} -g www-data www-data
# Adding the faketime library to the preload file needs to be done last
# otherwise it will preload it for all commands that follow in this file
RUN if [ ${INSTALL_FAKETIME} = true ]; then \
echo ""/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1"" > /etc/ld.so.preload \
;fi
# Configure locale.
ARG LOCALE=POSIX
ENV LC_ALL ${LOCALE}
WORKDIR /var/www
CMD [""php-fpm""]
EXPOSE 9000
",code refactoring
330,745eb157327e8ceed9b73ced8d83c91c144d25d0,add maven support,"add maven support
","## $ docker build -t larrycai/jenkins-slave-ubuntu .
FROM ubuntu:trusty
MAINTAINER Larry Cai <larry.caiyu@gmail.com>
ENV REFRESHED_AT 2014-08-18
# Make sure the package repository is up to date.
RUN apt-get update && apt-get install -y openssh-server \
&& apt-get install -y --no-install-recommends openjdk-7-jdk \
&& apt-get install -y curl
# install gcc/make design environment
RUN apt-get update && apt-get install -y unzip make gcc pkg-config libglib2.0-dev xz-utils
RUN mkdir -p /var/run/sshd
# Add user jenkins to the image
RUN adduser --quiet jenkins
# Set password for the jenkins user (you may want to alter this).
RUN echo ""jenkins:jenkins"" | chpasswd
ENV HOME /home/jenkins
# private key
RUN mkdir $HOME/.ssh
RUN chown -R jenkins:jenkins $HOME/.ssh
ADD id_rsa.pub $HOME/.ssh/authorized_keys
RUN chown -R jenkins:jenkins $HOME/.ssh
RUN chmod 0700 $HOME/.ssh
RUN chmod 0660 $HOME/.ssh/authorized_keys
RUN curl -sf -o /tmp/out2html.zip -L https://github.com/larrycai/out2html/archive/master.zip
RUN chown -R jenkins:jenkins $HOME
# Standard SSH port
EXPOSE 22
CMD [""/usr/sbin/sshd"", ""-D""]
","## $ docker build -t larrycai/jenkins-slave-ubuntu .
FROM ubuntu:trusty
MAINTAINER Larry Cai <larry.caiyu@gmail.com>
ENV REFRESHED_AT 2015-01-16
# Make sure the package repository is up to date.
RUN apt-get update && apt-get install -y openssh-server \
&& apt-get install -y --no-install-recommends openjdk-7-jdk \
&& apt-get install -y curl
# install gcc/make design environment
RUN apt-get update && apt-get install -y unzip make gcc pkg-config libglib2.0-dev xz-utils
ENV MAVEN_VERSION 3.2.5
RUN curl -sSL http://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar xzf - -C /usr/share \
&& mv /usr/share/apache-maven-$MAVEN_VERSION /usr/share/maven \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
ENV MAVEN_HOME /usr/share/maven
RUN mkdir -p /var/run/sshd
# Add user jenkins to the image
RUN adduser --quiet jenkins
# Set password for the jenkins user (you may want to alter this).
RUN echo ""jenkins:jenkins"" | chpasswd
ENV HOME /home/jenkins
# private key
RUN mkdir $HOME/.ssh
RUN chown -R jenkins:jenkins $HOME/.ssh
ADD id_rsa.pub $HOME/.ssh/authorized_keys
RUN chown -R jenkins:jenkins $HOME/.ssh
RUN chmod 0700 $HOME/.ssh
RUN chmod 0660 $HOME/.ssh/authorized_keys
RUN curl -sf -o /tmp/out2html.zip -L https://github.com/larrycai/out2html/archive/master.zip
RUN chown -R jenkins:jenkins $HOME
# Standard SSH port
EXPOSE 22
CMD [""/usr/sbin/sshd"", ""-D""]
",feature addition
2195,1291d39708ab3ffc858e61fd0922260cae043716,ffmpeg: upgrade to 2.8.3,"ffmpeg: upgrade to 2.8.3
","FROM sameersbn/ubuntu:14.04.20151213
MAINTAINER sameer@damagehead.com
ENV FFMPEG_VERSION=2.8.2 \
X264_VERSION=snapshot-20151212-2245-stable
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y bzip2 libgnutlsxx27 libogg0 libjpeg8 libpng12-0 \
libvpx1 libtheora0 libxvidcore4 libmpeg2-4 \
libvorbis0a libfaad2 libmp3lame0 libmpg123-0 libmad0 libopus0 libvo-aacenc0 \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /var/cache/ffmpeg/install.sh
RUN bash /var/cache/ffmpeg/install.sh
ENTRYPOINT [""/usr/bin/ffmpeg""]
CMD [""--help""]
",,code refactoring
2237,00b3b7fc5dea5c21834b5ff694995497f6ac29ec,Update kodi 18 rc2,"Update kodi 18 rc2
","# docker-kodi-server
#
# Setup: Clone repo then checkout appropriate version
# For jarvis
# $ git checkout jarvis
# For Master (Lastest Kodi stable release)
# $ git checkout master
#
# Create your own Build:
# $ docker build --rm=true -t $(whoami)/kodi-server .
#
# Run your build:
# $ docker run -d --restart=""always"" --net=host -v /directory/with/kodidata:/opt/kodi-server/share/kodi/portable_data $(whoami)/kodi-server
#
#
# Greatly inspire by the work of wernerb,
# See https://github.com/wernerb/docker-xbmc-server
from base/archlinux
maintainer celedhrim ""celed+git@ielf.org""
# Add headless patch
ADD src/headless.patch /headless.patch
# Install dep , compile , clean
RUN cd /root && \
pacman -Syu --noprogressbar --noconfirm && \
pacman --noprogressbar --noconfirm -S git make autoconf automake pkg-config jre8-openjdk-headless swig gcc python2 mesa-libgl glu libmariadbclient libass tinyxml yajl libxslt taglib libmicrohttpd libxrandr libssh smbclient libnfs ffmpeg libx264 cmake gperf unzip zip libcdio gtk-update-icon-cache rsync grep sed gettext which patch ghostscript groff rapidjson sudo wget fakeroot && \
ln -s /usr/bin/python2 /usr/bin/python && \
ln -s /usr/bin/python2-config /usr/bin/python-config && \
mkdir /build && \
groupadd -g 1000 builder && \
useradd -M -d /build -g 1000 -s /bin/bash -u 1000 builder && \
chown builder:builder /build && \
cd /build && \
sudo -u builder wget https://aur.archlinux.org/cgit/aur.git/snapshot/fmt.tar.gz && \
sudo -u builder tar -xzf fmt.tar.gz && \
cd fmt && \
sudo -u builder makepkg && \
pacman -U --noconfirm --noprogressbar *.tar.xz && \
cd /root && \
rm -rf /build && \
userdel builder && \
git clone https://github.com/xbmc/xbmc.git -b 18.0rc1-Leia --depth=1 && \
cd /root/xbmc && \
mv /headless.patch . && \
git apply headless.patch && \
cmake \
-DCMAKE_INSTALL_PREFIX=/opt/kodi-server \
-DENABLE_INTERNAL_FFMPEG=OFF \
-DWITH_FFMPEG=ON \
-DENABLE_AIRTUNES=OFF \
-DENABLE_LIRC=OFF \
-DENABLE_EVENTCLIENTS=OFF \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_INTERNAL_RapidJSON=OFF \
-DENABLE_INTERNAL_FMT=OFF \
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_DVDCSS=OFF \
-DENABLE_ALSA=OFF \
-DENABLE_AVAHI=OFF \
-DENABLE_VDPAU=OFF \
-DENABLE_VAAPI=OFF \
-DENABLE_UDEV=OFF \
-DENABLE_PULSEAUDIO=OFF \
-DENABLE_OPTICAL=OFF \
-DENABLE_SNDIO=OFF \
-DENABLE_LCMS2=OFF \
-DENABLE_DBUS=OFF && \
make && \
make install && \
mkdir -p /opt/kodi-server/share/kodi/portable_data/ && \
cd /root && \
mkdir empty && \
rsync -a --delete empty/ xbmc/ && \
pacman --noconfirm -Rnsc git make autoconf automake swig jre8-openjdk-headless gcc cmake gperf rsync gtk-update-icon-cache grep gettext which patch sudo wget fakeroot && \
rm -rf /root/* /usr/lib/python2.7/test /usr/share/doc /usr/share/man /var/cache/pacman/pkg
#Eventserver and webserver respectively.
EXPOSE 9777/udp 8089/tcp
CMD [""/opt/kodi-server/lib64/kodi/kodi-x11"",""--no-test"",""--nolirc"",""-p""]
",,code refactoring
2076,96755edcae6e2acb70197ed7a2b35945a0e8dbdb,Bump ruby from 2.5 to 3.0.1 (#144),"Bump ruby from 2.5 to 3.0.1 (#144)
Bumps ruby from 2.5 to 3.0.1.
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>
Co-authored-by: dependabot[bot] <1c358da00a777d4e9898c1280ab801e2df165188@users.noreply.github.com>","FROM ruby:2.5
LABEL maintainer=""shockwavenn@gmail.com""
COPY . /root/pocket-sinatra-interface
WORKDIR /root/pocket-sinatra-interface
RUN gem install bundler
RUN bundle config set --local without 'development test' && \
bundle install
EXPOSE 80
CMD ruby app/server.rb -p 80 -o 0.0.0.0
",,maintenance/other
349,f3ffd96c93751054f491468e59db7f8103c2d225,Bumped source to 20220515-20c28ca,"Bumped source to 20220515-20c28ca
","FROM ghcr.io/dock0/arch:20220515-45d9d92
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
","FROM ghcr.io/dock0/arch:20220515-20c28ca
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",maintenance/other
2306,5f8702f5984a862e80737c69869b73740b8aee0a,"Add nxvis, package for visualising networkx graphs","Add nxvis, package for visualising networkx graphs","FROM continuumio/anaconda3:latest
ADD cache_keras_weights.py /usr/local/src/cache_keras_weights.py
# Use a fixed apt-get repo to stop intermittent failures due to flaky httpredir connections,
# as described by Lionel Chan at http://stackoverflow.com/a/37426929/5881346
RUN sed -i ""s/httpredir.debian.org/debian.uchicago.edu/"" /etc/apt/sources.list && \
apt-get update && apt-get install -y build-essential && \
# Newer version of Pandas than comes with continuumio/anaconda3
conda uninstall -y pandas && pip install pandas && \
cd /usr/local/src && \
pip install tensorflow && \
# Vowpal Rabbit
apt-get install -y libboost-program-options-dev zlib1g-dev libboost-python-dev && \
cd /usr/lib/x86_64-linux-gnu/ && rm -f libboost_python.a && rm -f libboost_python.so && \
ln -sf libboost_python-py34.so libboost_python.so && ln -sf libboost_python-py34.a libboost_python.a && \
pip install vowpalwabbit && \
pip install seaborn python-dateutil dask pytagcloud pyyaml ggplot joblib \
husl geopy ml_metrics mne pyshp gensim && \
#python -m spacy.en.download && \
# The apt-get version of imagemagick is out of date and has compatibility issues, so we build from source
apt-get -y install dbus fontconfig fontconfig-config fonts-dejavu-core fonts-droid ghostscript gsfonts hicolor-icon-theme \
libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcap-ng0 libcroco3 \
libcups2 libcupsfilters1 libcupsimage2 libdatrie1 libdbus-1-3 libdjvulibre-text libdjvulibre21 libfftw3-double3 libfontconfig1 \
libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgomp1 libgraphite2-3 libgs9 libgs9-common libharfbuzz0b libijs-0.35 \
libilmbase6 libjasper1 libjbig0 libjbig2dec0 libjpeg62-turbo liblcms2-2 liblqr-1-0 libltdl7 libmagickcore-6.q16-2 \
libmagickcore-6.q16-2-extra libmagickwand-6.q16-2 libnetpbm10 libopenexr6 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 \
libpaper-utils libpaper1 libpixman-1-0 libpng12-0 librsvg2-2 librsvg2-common libthai-data libthai0 libtiff5 libwmf0.2-7 \
libxcb-render0 libxcb-shm0 netpbm poppler-data p7zip-full && \
cd /usr/local/src && \
wget http://www.imagemagick.org/download/ImageMagick.tar.gz && \
tar xzf ImageMagick.tar.gz && cd `ls -d ImageMagick-*` && pwd && ls -al && ./configure && \
make -j $(nproc) && make install && \
# clean up ImageMagick source files
cd ../ && rm -rf ImageMagick* && \
apt-get -y install libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev && \
apt-get -y install libtbb2 libtbb-dev libjpeg-dev libtiff-dev libjasper-dev && \
apt-get -y install cmake && \
cd /usr/local/src && git clone --depth 1 https://github.com/Itseez/opencv.git && \
cd opencv && \
mkdir build && cd build && \
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_FFMPEG=OFF -D WITH_V4L=ON -D WITH_QT=OFF -D WITH_OPENGL=ON -D PYTHON3_LIBRARY=/opt/conda/lib/libpython3.6m.so -D PYTHON3_INCLUDE_DIR=/opt/conda/include/python3.6m/ -D PYTHON_LIBRARY=/opt/conda/lib/libpython3.6m.so -D PYTHON_INCLUDE_DIR=/opt/conda/include/python3.6m/ -D BUILD_PNG=TRUE .. && \
make -j $(nproc) && make install && \
echo ""/usr/local/lib/python3.6/site-packages"" > /etc/ld.so.conf.d/opencv.conf && ldconfig && \
cp /usr/local/lib/python3.6/site-packages/cv2.cpython-36m-x86_64-linux-gnu.so /opt/conda/lib/python3.6/site-packages/ && \
# Clean up install cruft
rm -rf /usr/local/src/opencv && \
rm -rf /root/.cache/pip/* && \
apt-get autoremove -y && apt-get clean
RUN apt-get install -y libfreetype6-dev && \
apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing && \
# textblob
pip install textblob && \
#word cloud
pip install git+git://github.com/amueller/word_cloud.git && \
#igraph
pip install python-igraph && \
#xgboost
cd /usr/local/src && mkdir xgboost && cd xgboost && \
git clone --depth 1 --recursive https://github.com/dmlc/xgboost.git && cd xgboost && \
make && cd python-package && python setup.py install && \
#lasagne
cd /usr/local/src && mkdir Lasagne && cd Lasagne && \
git clone --depth 1 https://github.com/Lasagne/Lasagne.git && cd Lasagne && \
pip install -r requirements.txt && python setup.py install && \
#keras
cd /usr/local/src && mkdir keras && cd keras && \
git clone --depth 1 https://github.com/fchollet/keras.git && \
cd keras && python setup.py install && \
#keras-rl
cd /usr/local/src && mkdir keras-rl && cd keras-rl && \
git clone --depth 1 https://github.com/matthiasplappert/keras-rl.git && \
cd keras-rl && python setup.py install && \
#neon
cd /usr/local/src && \
git clone --depth 1 https://github.com/NervanaSystems/neon.git && \
cd neon && pip install -e . && \
#nolearn
cd /usr/local/src && mkdir nolearn && cd nolearn && \
git clone --depth 1 https://github.com/dnouri/nolearn.git && cd nolearn && \
echo ""x"" > README.rst && echo ""x"" > CHANGES.rst && \
python setup.py install && \
# Dev branch of Theano
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps && \
# put theano compiledir inside /tmp (it needs to be in writable dir)
printf ""[global]\nbase_compiledir = /tmp/.theano\n"" > /.theanorc && \
cd /usr/local/src && git clone --depth 1 https://github.com/pybrain/pybrain && \
cd pybrain && python setup.py install && \
# Base ATLAS plus tSNE
apt-get install -y libatlas-base-dev && \
# NOTE: we provide the tsne package, but sklearn.manifold.TSNE now does the same
# job
cd /usr/local/src && git clone --depth 1 https://github.com/danielfrg/tsne.git && \
cd tsne && python setup.py install && \
cd /usr/local/src && git clone --depth 1 https://github.com/ztane/python-Levenshtein && \
cd python-Levenshtein && python setup.py install && \
cd /usr/local/src && git clone --depth 1 https://github.com/arogozhnikov/hep_ml.git && \
cd hep_ml && pip install . && \
# chainer
pip install chainer && \
# NLTK Project datasets
mkdir -p /usr/share/nltk_data && \
# NLTK Downloader no longer continues smoothly after an error, so we explicitly list
# the corpuses that work
python -m nltk.downloader -d /usr/share/nltk_data abc alpino averaged_perceptron_tagger \
basque_grammars biocreative_ppi bllip_wsj_no_aux \
book_grammars brown brown_tei cess_cat cess_esp chat80 city_database cmudict \
comtrans conll2000 conll2002 conll2007 crubadan dependency_treebank \
europarl_raw floresta gazetteers genesis gutenberg hmm_treebank_pos_tagger \
ieer inaugural indian jeita kimmo knbc large_grammars lin_thesaurus mac_morpho machado \
masc_tagged maxent_ne_chunker maxent_treebank_pos_tagger moses_sample movie_reviews \
mte_teip5 names nps_chat omw opinion_lexicon paradigms \
pil pl196x porter_test ppattach problem_reports product_reviews_1 product_reviews_2 propbank \
pros_cons ptb punkt qc reuters rslp rte sample_grammars semcor senseval sentence_polarity \
sentiwordnet shakespeare sinica_treebank smultron snowball_data spanish_grammars \
state_union stopwords subjectivity swadesh switchboard tagsets timit toolbox treebank \
twitter_samples udhr2 udhr unicode_samples universal_tagset universal_treebanks_v20 \
vader_lexicon verbnet webtext word2vec_sample wordnet wordnet_ic words ycoe && \
# Stop-words
pip install stop-words && \
cd /usr/local/src && python cache_keras_weights.py && \
# clean up
rm -rf /root/.cache/pip/* && \
apt-get autoremove -y && apt-get clean && \
rm -rf /usr/local/src/*
# Install OpenCV-3 with Python support
RUN apt-get update && \
# Anaconda's build of gcc is way out of date; monkey-patch some linking problems that affect
# packages like xgboost and Shapely
rm /opt/conda/lib/libstdc++* && rm /opt/conda/lib/libgomp.* && \
ln -s /usr/lib/x86_64-linux-gnu/libgomp.so.1 /opt/conda/lib/libgomp.so.1 && \
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/conda/lib/libstdc++.so.6 && \
# Libgeos, for mapping libraries
apt-get -y install libgeos-dev && \
# pyshp and pyproj are now external dependencies of Basemap
pip install pyshp pyproj && \
cd /usr/local/src && git clone https://github.com/matplotlib/basemap.git && \
export GEOS_DIR=/usr/local && \
cd basemap && python setup.py install && \
# Pillow (PIL)
apt-get -y install zlib1g-dev liblcms2-dev libwebp-dev && \
pip install Pillow && \
cd /usr/local/src && git clone https://github.com/vitruvianscience/opendeep.git && \
cd opendeep && python setup.py develop && \
# sasl is apparently an ibis dependency
apt-get -y install libsasl2-dev && \
# ...as is psycopg2
apt-get install -y libpq-dev && \
pip install ibis-framework && \
# Cartopy plus dependencies
yes | conda install proj4 && \
pip install packaging && \
cd /usr/local/src && git clone https://github.com/Toblerity/Shapely.git && \
cd Shapely && python setup.py install && \
cd /usr/local/src && git clone https://github.com/SciTools/cartopy.git && \
cd cartopy && python setup.py install && \
# MXNet
cd /usr/local/src && git clone --recursive https://github.com/dmlc/mxnet && \
cd /usr/local/src/mxnet && cp make/config.mk . && \
sed -i 's/ADD_LDFLAGS =/ADD_LDFLAGS = -lstdc++/' config.mk && \
make && cd python && python setup.py install && \
# set backend for matplotlib to Agg
matplotlibrc_path=$(python -c ""import site, os, fileinput; packages_dir = site.getsitepackages()[0]; print(os.path.join(packages_dir, 'matplotlib', 'mpl-data', 'matplotlibrc'))"") && \
sed -i 's/^backend : Qt5Agg/backend : Agg/' $matplotlibrc_path && \
# Stop jupyter nbconvert trying to rewrite its folder hierarchy
mkdir -p /root/.jupyter && touch /root/.jupyter/jupyter_nbconvert_config.py && touch /root/.jupyter/migrated && \
mkdir -p /.jupyter && touch /.jupyter/jupyter_nbconvert_config.py && touch /.jupyter/migrated && \
# Stop Matplotlib printing junk to the console on first load
sed -i ""s/^.*Matplotlib is building the font cache using fc-list.*$/# Warning removed by Kaggle/g"" /opt/conda/lib/python3.6/site-packages/matplotlib/font_manager.py && \
# Make matplotlib output in Jupyter notebooks display correctly
mkdir -p /etc/ipython/ && echo ""c = get_config(); c.IPKernelApp.matplotlib = 'inline'"" > /etc/ipython/ipython_config.py && \
# h2o
# This requires python-software-properties and Java.
apt-get install -y python-software-properties zip && \
echo ""deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main"" | tee -a /etc/apt/sources.list && echo ""deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main"" | tee -a /etc/apt/sources.list && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 C857C906 2B90D010 && \
apt-get update && \
echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections && \
apt-get install -y oracle-java8-installer && \
cd /usr/local/src && mkdir h2o && cd h2o && \
wget http://h2o-release.s3.amazonaws.com/h2o/latest_stable -O latest && \
wget --no-check-certificate -i latest -O h2o.zip && rm latest && \
unzip h2o.zip && rm h2o.zip && cp h2o-*/h2o.jar . && \
pip install `find . -name ""*whl""` && \
# Keras setup
# Keras likes to add a config file in a custom directory when it's
# first imported. This doesn't work with our read-only filesystem, so we
# have it done now
python -c ""from keras.models import Sequential"" && \
# Switch to TF backend
sed -i 's/theano/tensorflow/' /root/.keras/keras.json && \
# Re-run it to flush any more disk writes
python -c ""from keras.models import Sequential; from keras import backend; print(backend._BACKEND)"" && \
# Keras reverts to /tmp from ~ when it detects a read-only file system
mkdir -p /tmp/.keras && cp /root/.keras/keras.json /tmp/.keras && \
# Scikit-Learn nightly build
cd /usr/local/src && git clone https://github.com/scikit-learn/scikit-learn.git && \
cd scikit-learn && python setup.py build && python setup.py install && \
# HDF5 support
conda install h5py && \
# https://github.com/biopython/biopython
pip install biopython && \
# Regularized Greedy Forests
cd /usr/local/src && wget https://github.com/fukatani/rgf_python/releases/download/0.2.0/rgf1.2.zip && \
unzip rgf1.2.zip && cd rgf1.2 && make && mv bin/rgf /usr/local/bin && \
cd /usr/local/src && git clone https://github.com/fukatani/rgf_python.git && \
cd rgf_python && sed -i 's/\/opt\/rgf1.2\/bin\/rgf/\/usr\/local\/bin\/rgf/' rgf/rgf.py && \
python setup.py install && \
# PUDB, for local debugging convenience
pip install pudb && \
# Imbalanced-learn
cd /usr/local/src && git clone https://github.com/scikit-learn-contrib/imbalanced-learn.git && \
cd imbalanced-learn && python setup.py install && \
# Convex Optimization library
# Latest version fails to install, see https://github.com/cvxopt/cvxopt/issues/77
# and https://github.com/cvxopt/cvxopt/issues/80
# pip install cvxopt && \
# Profiling and other utilities
pip install line_profiler && \
pip install orderedmultidict && \
pip install smhasher && \
conda install -y -c bokeh datashader && \
# Boruta (python implementation)
cd /usr/local/src && git clone https://github.com/danielhomola/boruta_py.git && \
cd boruta_py && python setup.py install && \
cd /usr/local/src && git clone --recursive --depth 1 https://github.com/Microsoft/LightGBM && \
cd LightGBM && mkdir build && cd build && cmake .. && make -j $(nproc) && \
cd /usr/local/src/LightGBM/python-package && python setup.py install && \
cd /usr/local/src && git clone git://github.com/nicolashennetier/pyeconometrics.git && \
cd pyeconometrics && python setup.py install && \
apt-get install -y graphviz && pip install graphviz && \
apt-get install -y libgdal1-dev && GDAL_CONFIG=/usr/bin/gdal-config pip install fiona && pip install geopandas && \
cd /usr/local/src && git clone git://github.com/scikit-learn-contrib/py-earth.git && \
cd py-earth && python setup.py install && \
# ~~~~ CLEAN UP ~~~~
rm -rf /root/.cache/pip/* && \
apt-get autoremove -y && apt-get clean && \
conda clean -i -l -t -y && \
rm -rf /usr/local/src/*
###########
#
# NEW CONTRIBUTORS:
# Please add new pip/apt installs in this block. Don't forget a ""&& \"" at the end
# of all non-final lines. Thanks!
#
###########
RUN pip install --upgrade mpld3 && \
pip install mplleaflet && \
pip install gpxpy && \
pip install arrow && \
pip install sexmachine && \
pip install Geohash && \
pip install deap && \
pip install tpot && \
pip install haversine && \
pip install toolz cytoolz && \
pip install sacred && \
pip install plotly && \
pip install git+https://github.com/nicta/dora.git && \
pip install git+https://github.com/hyperopt/hyperopt.git && \
# tflean. Deep learning library featuring a higher-level API for TensorFlow. http://tflearn.org
pip install git+https://github.com/tflearn/tflearn.git && \
pip install fitter && \
pip install langid && \
# Delorean. Useful for dealing with datetime
pip install delorean && \
pip install trueskill && \
pip install heamy && \
pip install vida && \
# Useful data exploration libraries (for missing data and generating reports)
pip install missingno && \
pip install pandas-profiling && \
pip install s2sphere && \
pip install git+https://github.com/fmfn/BayesianOptimization.git && \
pip install matplotlib-venn && \
pip install pyldavis && \
# Pattern not yet Py3 compatible...
# pip install pattern && \
pip install git+git://github.com/rasbt/mlxtend.git#egg=mlxtend && \
pip install altair && \
pip install pystan && \
pip install ImageHash && \
pip install git+https://github.com/hammerlab/fancyimpute.git && \
pip install git+https://github.com/pymc-devs/pymc3 && \
pip install tifffile && \
pip install descartes && \
pip install geojson && \
pip install pysal && \
#conda install -y gdal && \
pip install pyflux && \
pip install terminalplot && \
pip install raccoon && \
pip install pydicom && \
pip install wavio && \
#conda install --channel https://conda.anaconda.org/SimpleITK --quiet --yes 'SimpleITK=0.10.0' && \
pip install hmmlearn && \
pip install bayespy && \
pip install gplearn && \
pip install PyAstronomy && \
conda install pytorch torchvision -c soumith && \
pip install squarify && \
pip install fuzzywuzzy && \
pip install python-louvain && \
pip install pyexcel-ods && \
pip install sklearn-pandas && \
pip install stemming && \
pip install fbprophet && \
conda install -y -c conda-forge -c ioam holoviews && \
pip install git+https://github.com/ioam/geoviews.git && \
pip install hypertools && \
##### ^^^^ Add new contributions above here
# clean up pip cache
rm -rf /root/.cache/pip/* && \
# Required to display Altair charts in Jupyter notebook
jupyter nbextension install --user --py vega
",,feature addition
160,640fc31c7e0bfda8928fc6c4a93fd5d6a674bf7c,Fixing minor bugs,"Fixing minor bugs
","FROM ubuntu:14.04
MAINTAINER Alejandro Gomez <agommor@gmail.com>
#================================
# Build arguments
#================================
ARG FIREFOX_VERSION ""47.0.1""
ARG VNC_PASSWD 1234
#================================
# Env variables
#================================
ENV BUILD_TIMESTAMP 20160915_01
ENV FIREFOX_VERSION $FIREFOX_VERSION
ENV X11_RESOLUTION ""1280x1024x24""
ENV DISPLAY :1
ENV GIT_URI """"
ENV VNC_PASSWD ""$VNC_PASSWORD""
ADD assets/etc/apt/apt.conf.d/99norecommends /etc/apt/apt.conf.d/99norecommends
ADD assets/etc/apt/sources.list /etc/apt/sources.list
# Installing Firefox
RUN apt-get update -y --fix-missing -qq \
&& DEBIAN_FRONTEND=noninteractive DEBCONF_PRIORITY=critical apt-get install -y wget libgtk-3-0 openjdk-8-jdk maven openssh-client git vim xvfb x11vnc
# Firefox installation
&& wget -q http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2 -O /tmp/firefox.tar.bz2 \
&& tar -C /usr/local -xjf /tmp/firefox.tar.bz2 \
&& ln -s /usr/local/firefox/firefox /usr/bin/firefox \
&& apt-get install -y libdbus-glib-1-2
# Install Chromium.
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo ""deb http://dl.google.com/linux/chrome/deb/ stable main"" > /etc/apt/sources.list.d/google.list \
&& apt-get update \
&& apt-get install -y google-chrome-stable \
&& rm -rf /var/lib/apt/lists/*
# Adding the entrypoint
COPY ./assets/bin/entrypoint /
RUN chmod +x /entrypoint
ENTRYPOINT [""/entrypoint""]","FROM ubuntu:14.04
MAINTAINER Alejandro Gomez <agommor@gmail.com>
#================================
# Build arguments
#================================
ARG FIREFOX_VERSION=""47.0.1""
ARG VNC_PASSWD=1234
#================================
# Env variables
#================================
ENV BUILD_TIMESTAMP 20160915_01
ENV FIREFOX_VERSION ${FIREFOX_VERSION}
ENV X11_RESOLUTION ""1280x1024x24""
ENV DISPLAY :1
ENV GIT_URI """"
ENV VNC_PASSWD ${VNC_PASSWORD}
ADD assets/etc/apt/apt.conf.d/99norecommends /etc/apt/apt.conf.d/99norecommends
ADD assets/etc/apt/sources.list /etc/apt/sources.list
# Installing Firefox
RUN apt-get update -y --fix-missing -qq \
&& DEBIAN_FRONTEND=noninteractive DEBCONF_PRIORITY=critical apt-get install -y wget libgtk-3-0 openjdk-8-jdk maven openssh-client git vim xvfb x11vnc
# Firefox installation
&& wget -q http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2 -O /tmp/firefox.tar.bz2 \
&& tar -C /usr/local -xjf /tmp/firefox.tar.bz2 \
&& ln -s /usr/local/firefox/firefox /usr/bin/firefox \
&& apt-get install -y libdbus-glib-1-2
# Install Chromium.
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo ""deb http://dl.google.com/linux/chrome/deb/ stable main"" > /etc/apt/sources.list.d/google.list \
&& apt-get update \
&& apt-get install -y google-chrome-stable \
&& rm -rf /var/lib/apt/lists/*
# Adding the entrypoint
COPY ./assets/bin/entrypoint /
RUN chmod +x /entrypoint
ENTRYPOINT [""/entrypoint""]",bug fix
396,0418cfbddcb783a81a67a5c05443684bc758b4e7,rever mono version,"rever mono version
","FROM ubuntu:18.04
ARG RELEASE_DATE=""2016-06-21""
ARG RELEASE_DATE_SIGN=""""
ARG VERSION=""8.9.0.190""
ARG SOURCE_REPO_URL=""deb http://static.teamlab.com.s3.amazonaws.com/repo/debian squeeze main""
ARG DEBIAN_FRONTEND=noninteractive
ARG PACKAGE_SYSNAME=""onlyoffice""
LABEL ${PACKAGE_SYSNAME}.community.release-date=""${RELEASE_DATE}"" \
${PACKAGE_SYSNAME}.community.version=""${VERSION}"" \
description=""Community Server is a free open-source collaborative system developed to manage documents, projects, customer relationship and emails, all in one place."" \
maintainer=""Ascensio System SIA <support@${PACKAGE_SYSNAME}.com>"" \
securitytxt=""https://www.${PACKAGE_SYSNAME}.com/.well-known/security.txt""
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y dist-upgrade && \
addgroup --system --gid 107 ${PACKAGE_SYSNAME} && \
adduser -uid 104 --quiet --home /var/www/${PACKAGE_SYSNAME} --system --gid 107 ${PACKAGE_SYSNAME} && \
addgroup --system --gid 104 elasticsearch && \
adduser -uid 103 --quiet --home /nonexistent --system --gid 104 elasticsearch && \
apt-get -yq install systemd \
systemd-sysv \
locales \
software-properties-common \
curl \
wget \
sudo && \
cd /lib/systemd/system/sysinit.target.wants/ && ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 && \
rm -f /lib/systemd/system/multi-user.target.wants/* \
/etc/systemd/system/*.wants/* \
/lib/systemd/system/local-fs.target.wants/* \
/lib/systemd/system/sockets.target.wants/*udev* \
/lib/systemd/system/sockets.target.wants/*initctl* \
/lib/systemd/system/basic.target.wants/* \
/lib/systemd/system/anaconda.target.wants/* \
/lib/systemd/system/plymouth* \
/lib/systemd/system/systemd-update-utmp* && \
locale-gen en_US.UTF-8 && \
echo ""#!/bin/sh\nexit 0"" > /usr/sbin/policy-rc.d && \
echo ""${SOURCE_REPO_URL}"" >> /etc/apt/sources.list && \
echo ""deb https://download.mono-project.com/repo/ubuntu stable-bionic/snapshots/6.10.0.104 main"" | tee /etc/apt/sources.list.d/mono-official.list && \
echo ""deb https://d2nlctn12v279m.cloudfront.net/repo/mono/ubuntu bionic main"" | tee /etc/apt/sources.list.d/mono-extra.list && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
wget http://nginx.org/keys/nginx_signing.key && \
apt-key add nginx_signing.key && \
echo ""deb http://nginx.org/packages/ubuntu/ bionic nginx"" >> /etc/apt/sources.list.d/nginx.list && \
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - && \
echo ""deb https://artifacts.elastic.co/packages/7.x/apt stable main"" | tee -a /etc/apt/sources.list.d/elastic-7.x.list && \
add-apt-repository -y ppa:certbot/certbot && \
add-apt-repository -y ppa:chris-lea/redis-server && \
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - && \
apt-get install -yq gnupg2 \
ca-certificates \
software-properties-common \
cron \
rsyslog \
ruby-dev \
ruby-god \
nodejs \
nginx \
gdb \
mono-complete \
ca-certificates-mono \
python-certbot-nginx \
htop \
nano \
dnsutils \
redis-server \
python3-pip \
multiarch-support \
iproute2 \
ffmpeg \
jq \
openjdk-8-jre-headless \
apt-transport-https \
elasticsearch=7.4.0 \
mono-webserver-hyperfastcgi=0.4-7 \
${PACKAGE_SYSNAME}-communityserver \
${PACKAGE_SYSNAME}-xmppserver && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY config /app/config/
COPY assets /app/assets/
COPY run-community-server.sh /app/run-community-server.sh
RUN chmod -R 755 /app/*.sh
VOLUME [""/sys/fs/cgroup"",""/var/log/${PACKAGE_SYSNAME}"", ""/var/www/${PACKAGE_SYSNAME}/Data"", ""/var/lib/mysql""]
EXPOSE 80 443 5222 3306 9865 9888 9866 9871 9882 5280
CMD [""/app/run-community-server.sh""];
","FROM ubuntu:18.04
ARG RELEASE_DATE=""2016-06-21""
ARG RELEASE_DATE_SIGN=""""
ARG VERSION=""8.9.0.190""
ARG SOURCE_REPO_URL=""deb http://static.teamlab.com.s3.amazonaws.com/repo/debian squeeze main""
ARG DEBIAN_FRONTEND=noninteractive
ARG PACKAGE_SYSNAME=""onlyoffice""
LABEL ${PACKAGE_SYSNAME}.community.release-date=""${RELEASE_DATE}"" \
${PACKAGE_SYSNAME}.community.version=""${VERSION}"" \
description=""Community Server is a free open-source collaborative system developed to manage documents, projects, customer relationship and emails, all in one place."" \
maintainer=""Ascensio System SIA <support@${PACKAGE_SYSNAME}.com>"" \
securitytxt=""https://www.${PACKAGE_SYSNAME}.com/.well-known/security.txt""
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y dist-upgrade && \
addgroup --system --gid 107 ${PACKAGE_SYSNAME} && \
adduser -uid 104 --quiet --home /var/www/${PACKAGE_SYSNAME} --system --gid 107 ${PACKAGE_SYSNAME} && \
addgroup --system --gid 104 elasticsearch && \
adduser -uid 103 --quiet --home /nonexistent --system --gid 104 elasticsearch && \
apt-get -yq install systemd \
systemd-sysv \
locales \
software-properties-common \
curl \
wget \
sudo && \
cd /lib/systemd/system/sysinit.target.wants/ && ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 && \
rm -f /lib/systemd/system/multi-user.target.wants/* \
/etc/systemd/system/*.wants/* \
/lib/systemd/system/local-fs.target.wants/* \
/lib/systemd/system/sockets.target.wants/*udev* \
/lib/systemd/system/sockets.target.wants/*initctl* \
/lib/systemd/system/basic.target.wants/* \
/lib/systemd/system/anaconda.target.wants/* \
/lib/systemd/system/plymouth* \
/lib/systemd/system/systemd-update-utmp* && \
locale-gen en_US.UTF-8 && \
echo ""#!/bin/sh\nexit 0"" > /usr/sbin/policy-rc.d && \
echo ""${SOURCE_REPO_URL}"" >> /etc/apt/sources.list && \
echo ""deb https://download.mono-project.com/repo/ubuntu stable-bionic/snapshots/6.8.0.123 main"" | tee /etc/apt/sources.list.d/mono-official.list && \
echo ""deb https://d2nlctn12v279m.cloudfront.net/repo/mono/ubuntu bionic main"" | tee /etc/apt/sources.list.d/mono-extra.list && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
wget http://nginx.org/keys/nginx_signing.key && \
apt-key add nginx_signing.key && \
echo ""deb http://nginx.org/packages/ubuntu/ bionic nginx"" >> /etc/apt/sources.list.d/nginx.list && \
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - && \
echo ""deb https://artifacts.elastic.co/packages/7.x/apt stable main"" | tee -a /etc/apt/sources.list.d/elastic-7.x.list && \
add-apt-repository -y ppa:certbot/certbot && \
add-apt-repository -y ppa:chris-lea/redis-server && \
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - && \
apt-get install -yq gnupg2 \
ca-certificates \
software-properties-common \
cron \
rsyslog \
ruby-dev \
ruby-god \
nodejs \
nginx \
gdb \
mono-complete \
ca-certificates-mono \
python-certbot-nginx \
htop \
nano \
dnsutils \
redis-server \
python3-pip \
multiarch-support \
iproute2 \
ffmpeg \
jq \
openjdk-8-jre-headless \
apt-transport-https \
elasticsearch=7.4.0 \
mono-webserver-hyperfastcgi=0.4-7 \
${PACKAGE_SYSNAME}-communityserver \
${PACKAGE_SYSNAME}-xmppserver && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY config /app/config/
COPY assets /app/assets/
COPY run-community-server.sh /app/run-community-server.sh
RUN chmod -R 755 /app/*.sh
VOLUME [""/sys/fs/cgroup"",""/var/log/${PACKAGE_SYSNAME}"", ""/var/www/${PACKAGE_SYSNAME}/Data"", ""/var/lib/mysql""]
EXPOSE 80 443 5222 3306 9865 9888 9866 9871 9882 5280
CMD [""/app/run-community-server.sh""];
",code refactoring
71,fb5df5ba2c9dd92e21f100a05230b1f93cf0368c,Update Slurm to 19.05.0,"Update Slurm to 19.05.0
","FROM centos:7
LABEL org.label-schema.vcs-url=""https://github.com/giovtorres/docker-centos7-slurm"" \
org.label-schema.docker.cmd=""docker run -it -h ernie giovtorres/docker-centos7-slurm:latest"" \
org.label-schema.name=""docker-centos7-slurm"" \
org.label-schema.description=""Slurm All-in-one Docker container on CentOS 7"" \
maintainer=""Giovanni Torres""
ARG SLURM_TAG=slurm-18-08-7-1
ARG PYTHON_VERSIONS=""2.6 2.7 3.4 3.5 3.6""
ENV PATH ""/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin""
RUN set -ex \
&& yum makecache fast \
&& yum -y update \
&& yum -y install epel-release \
&& yum -y install \
autoconf \
bash-completion \
bzip2 \
bzip2-devel \
file \
gcc \
gcc-c++ \
gdbm-devel \
git \
glibc-devel \
gmp-devel \
libffi-devel \
libGL-devel \
libX11-devel \
make \
mariadb-server \
mariadb-devel \
munge \
munge-devel \
ncurses-devel \
openssl-devel \
openssl-libs \
perl \
pkconfig \
psmisc \
python-devel \
python-pip \
python34 \
python34-devel \
python34-pip \
readline-devel \
sqlite-devel \
tcl-devel \
tix-devel \
tk \
tk-devel \
supervisor \
wget \
vim-enhanced \
zlib-devel \
&& yum -y install https://centos7.iuscommunity.org/ius-release.rpm \
&& yum -y install \
python35u \
python35u-devel \
python35u-pip \
python36u \
python36u-devel \
python36u-pip \
&& yum clean all \
&& rm -rf /var/cache/yum
RUN set -ex \
&& wget https://www.python.org/ftp/python/2.6.9/Python-2.6.9.tgz \
&& tar xzf Python-2.6.9.tgz \
&& pushd Python-2.6.9 \
&& export CFLAGS=""-D_GNU_SOURCE -fPIC -fwrapv"" \
&& export CXXFLAGS=""-D_GNU_SOURCE -fPIC -fwrapv"" \
&& export OPT=""-D_GNU_SOURCE -fPIC -fwrapv"" \
&& export LINKCC=""gcc"" \
&& export CC=""gcc"" \
&& ./configure --enable-ipv6 --enable-unicode=ucs4 --enable-shared --with-system-ffi \
&& make install \
&& unset CFLAGS CXXFLAGS OPT LINKCC CC \
&& popd \
&& rm -rf Python-2.6.9 \
&& echo ""/usr/local/lib"" >> /etc/ld.so.conf.d/python-2.6.conf \
&& chmod 0644 /etc/ld.so.conf.d/python-2.6.conf \
&& /sbin/ldconfig \
&& wget https://bootstrap.pypa.io/2.6/get-pip.py \
&& /usr/local/bin/python2.6 get-pip.py \
&& rm -f get-pip.py Python-2.6.9.tgz
RUN for version in $PYTHON_VERSIONS; do pip$version install Cython nose; done
RUN set -ex \
&& git clone https://github.com/SchedMD/slurm.git \
&& pushd slurm \
&& git checkout tags/$SLURM_TAG \
&& ./configure --enable-debug --enable-front-end --prefix=/usr \
--sysconfdir=/etc/slurm --with-mysql_config=/usr/bin \
--libdir=/usr/lib64 \
&& make install \
&& install -D -m644 etc/cgroup.conf.example /etc/slurm/cgroup.conf.example \
&& install -D -m644 etc/slurm.conf.example /etc/slurm/slurm.conf.example \
&& install -D -m644 etc/slurmdbd.conf.example /etc/slurm/slurmdbd.conf.example \
&& install -D -m644 contribs/slurm_completion_help/slurm_completion.sh /etc/profile.d/slurm_completion.sh \
&& popd \
&& rm -rf slurm \
&& groupadd -r slurm \
&& useradd -r -g slurm slurm \
&& mkdir /etc/sysconfig/slurm \
/var/spool/slurmd \
/var/run/slurmd \
/var/lib/slurmd \
/var/log/slurm \
&& chown slurm:root /var/spool/slurmd \
/var/run/slurmd \
/var/lib/slurmd \
/var/log/slurm \
&& /sbin/create-munge-key
RUN set -ex \
&& echo ""syntax on"" >> $HOME/.vimrc \
&& echo ""set tabstop=4"" >> $HOME/.vimrc \
&& echo ""set softtabstop=4"" >> $HOME/.vimrc \
&& echo ""set shiftwidth=4"" >> $HOME/.vimrc \
&& echo ""set expandtab"" >> $HOME/.vimrc \
&& echo ""set autoindent"" >> $HOME/.vimrc \
&& echo ""set fileformat=unix"" >> $HOME/.vimrc \
&& echo ""set encoding=utf-8"" >> $HOME/.vimrc \
&& git config --global color.ui auto \
&& git config --global push.default simple
COPY slurm.conf /etc/slurm/slurm.conf
COPY gres.conf /etc/slurm/gres.conf
COPY slurmdbd.conf /etc/slurm/slurmdbd.conf
COPY supervisord.conf /etc/
VOLUME [""/var/lib/mysql"", ""/var/lib/slurmd"", ""/var/spool/slurmd"", ""/var/log/slurm""]
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT [""/usr/local/bin/docker-entrypoint.sh""]
CMD [""/bin/bash""]
","FROM centos:7
LABEL org.label-schema.vcs-url=""https://github.com/giovtorres/docker-centos7-slurm"" \
org.label-schema.docker.cmd=""docker run -it -h ernie giovtorres/docker-centos7-slurm:latest"" \
org.label-schema.name=""docker-centos7-slurm"" \
org.label-schema.description=""Slurm All-in-one Docker container on CentOS 7"" \
maintainer=""Giovanni Torres""
ARG SLURM_TAG=slurm-19-05-0-1
ARG PYTHON_VERSIONS=""2.6 2.7 3.4 3.5 3.6""
ENV PATH ""/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin""
RUN set -ex \
&& yum makecache fast \
&& yum -y update \
&& yum -y install epel-release \
&& yum -y install \
autoconf \
bash-completion \
bzip2 \
bzip2-devel \
file \
gcc \
gcc-c++ \
gdbm-devel \
git \
glibc-devel \
gmp-devel \
libffi-devel \
libGL-devel \
libX11-devel \
make \
mariadb-server \
mariadb-devel \
munge \
munge-devel \
ncurses-devel \
openssl-devel \
openssl-libs \
perl \
pkconfig \
psmisc \
python-devel \
python-pip \
python34 \
python34-devel \
python34-pip \
readline-devel \
sqlite-devel \
tcl-devel \
tix-devel \
tk \
tk-devel \
supervisor \
wget \
vim-enhanced \
zlib-devel \
&& yum -y install https://centos7.iuscommunity.org/ius-release.rpm \
&& yum -y install \
python35u \
python35u-devel \
python35u-pip \
python36u \
python36u-devel \
python36u-pip \
&& yum clean all \
&& rm -rf /var/cache/yum
RUN set -ex \
&& wget https://www.python.org/ftp/python/2.6.9/Python-2.6.9.tgz \
&& tar xzf Python-2.6.9.tgz \
&& pushd Python-2.6.9 \
&& export CFLAGS=""-D_GNU_SOURCE -fPIC -fwrapv"" \
&& export CXXFLAGS=""-D_GNU_SOURCE -fPIC -fwrapv"" \
&& export OPT=""-D_GNU_SOURCE -fPIC -fwrapv"" \
&& export LINKCC=""gcc"" \
&& export CC=""gcc"" \
&& ./configure --enable-ipv6 --enable-unicode=ucs4 --enable-shared --with-system-ffi \
&& make install \
&& unset CFLAGS CXXFLAGS OPT LINKCC CC \
&& popd \
&& rm -rf Python-2.6.9 \
&& echo ""/usr/local/lib"" >> /etc/ld.so.conf.d/python-2.6.conf \
&& chmod 0644 /etc/ld.so.conf.d/python-2.6.conf \
&& /sbin/ldconfig \
&& wget https://bootstrap.pypa.io/2.6/get-pip.py \
&& /usr/local/bin/python2.6 get-pip.py \
&& rm -f get-pip.py Python-2.6.9.tgz
RUN for version in $PYTHON_VERSIONS; do pip$version install Cython nose; done
RUN set -ex \
&& git clone https://github.com/SchedMD/slurm.git \
&& pushd slurm \
&& git checkout tags/$SLURM_TAG \
&& ./configure --enable-debug --enable-front-end --prefix=/usr \
--sysconfdir=/etc/slurm --with-mysql_config=/usr/bin \
--libdir=/usr/lib64 \
&& make install \
&& install -D -m644 etc/cgroup.conf.example /etc/slurm/cgroup.conf.example \
&& install -D -m644 etc/slurm.conf.example /etc/slurm/slurm.conf.example \
&& install -D -m644 etc/slurmdbd.conf.example /etc/slurm/slurmdbd.conf.example \
&& install -D -m644 contribs/slurm_completion_help/slurm_completion.sh /etc/profile.d/slurm_completion.sh \
&& popd \
&& rm -rf slurm \
&& groupadd -r slurm \
&& useradd -r -g slurm slurm \
&& mkdir /etc/sysconfig/slurm \
/var/spool/slurmd \
/var/run/slurmd \
/var/lib/slurmd \
/var/log/slurm \
&& chown slurm:root /var/spool/slurmd \
/var/run/slurmd \
/var/lib/slurmd \
/var/log/slurm \
&& /sbin/create-munge-key
RUN set -ex \
&& echo ""syntax on"" >> $HOME/.vimrc \
&& echo ""set tabstop=4"" >> $HOME/.vimrc \
&& echo ""set softtabstop=4"" >> $HOME/.vimrc \
&& echo ""set shiftwidth=4"" >> $HOME/.vimrc \
&& echo ""set expandtab"" >> $HOME/.vimrc \
&& echo ""set autoindent"" >> $HOME/.vimrc \
&& echo ""set fileformat=unix"" >> $HOME/.vimrc \
&& echo ""set encoding=utf-8"" >> $HOME/.vimrc \
&& git config --global color.ui auto \
&& git config --global push.default simple
COPY slurm.conf /etc/slurm/slurm.conf
COPY gres.conf /etc/slurm/gres.conf
COPY slurmdbd.conf /etc/slurm/slurmdbd.conf
COPY supervisord.conf /etc/
VOLUME [""/var/lib/mysql"", ""/var/lib/slurmd"", ""/var/spool/slurmd"", ""/var/log/slurm""]
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT [""/usr/local/bin/docker-entrypoint.sh""]
CMD [""/bin/bash""]
",code refactoring
403,1d6b1b9368c5eb7b91df77ca3f4cd47f4ea7da2b,chore(deps): update python docker tag to v3.8 (#4583),"chore(deps): update python docker tag to v3.8 (#4583)
","# Use the official lightweight Python image.
# https://hub.docker.com/_/python
FROM python:3.7-slim
# Copy local code to the container image.
ENV APP_HOME /app
WORKDIR $APP_HOME
COPY . ./
COPY requirements.txt /app/
RUN pip install Flask gunicorn
RUN pip install -r requirements.txt
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 app:app
","# Use the official lightweight Python image.
# https://hub.docker.com/_/python
FROM python:3.8-slim
# Copy local code to the container image.
ENV APP_HOME /app
WORKDIR $APP_HOME
COPY . ./
COPY requirements.txt /app/
RUN pip install Flask gunicorn
RUN pip install -r requirements.txt
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 app:app
",code refactoring
2189,74fcf7a8085ac3079b97b5ac42050ae62fd25422,Updated dockerfile (#129),"Updated dockerfile (#129)
","FROM python:3.6-slim
RUN apt update \
&& apt install -y \
binutils \
libproj-dev \
gdal-bin \
libmagic-dev \
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip install -r requirements.txt
CMD [""gunicorn"", ""--pythonpath"", ""src"", ""--bind"", ""0.0.0.0:8000"", ""keadatabase.wsgi""]
",,code refactoring
229,69fdba89f3187a1649f2c900edb54c57130eaa67,added additional libs for php development,"added additional libs for php development
","#Download base image ubuntu 16.04
FROM ubuntu:16.04
MAINTAINER rodwin lising <rodwinlising@gmail.com>
# Update Ubuntu Software repository
RUN apt-get update
# Install nginx, php-fpm and supervisord from ubuntu repository
RUN apt-get install -y nginx php7.0-fpm supervisor nodejs nodejs-dev npm curl git
# Install gulp and bower with NPM
RUN npm install -g \
gulp \
bower
# Add a symbolic link for Node
RUN ln -s /usr/bin/nodejs /usr/bin/node
# Install Composer
RUN curl -s http://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/ \
&& echo ""alias composer='/usr/local/bin/composer.phar'"" >> ~/.bashrc
# Source the bash
RUN . ~/.bashrc
# Clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#Define the ENV variable
ENV nginx_vhost /etc/nginx/sites-available/default
ENV php_conf /etc/php/7.0/fpm/php.ini
ENV nginx_conf /etc/nginx/nginx.conf
ENV supervisor_conf /etc/supervisor/supervisord.conf
# Enable php-fpm on nginx virtualhost configuration
COPY default ${nginx_vhost}
RUN sed -i -e 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' ${php_conf} && \
echo ""\ndaemon off;"" >> ${nginx_conf}
#Copy supervisor configuration
COPY supervisord.conf ${supervisor_conf}
RUN mkdir -p /run/php && \
chown -R www-data:www-data /var/www/html && \
chown -R www-data:www-data /run/php
# Volume configuration
VOLUME [""/etc/nginx/sites-enabled"", ""/etc/nginx/certs"", ""/etc/nginx/conf.d"", ""/var/log/nginx"", ""/var/www/html""]
WORKDIR /var/www/html
# Configure Services and Port
COPY start.sh /start.sh
#CMD [""./start.sh""]
ENTRYPOINT [""/bin/bash"", ""/start.sh""]
EXPOSE 80 443
","#Download base image ubuntu 16.04
FROM ubuntu:16.04
MAINTAINER rodwin lising <rodwinlising@gmail.com>
# Update Ubuntu Software repository
RUN apt-get update
# Install nginx, php-fpm and supervisord from ubuntu repository
RUN apt-get install -y \
nginx \
php7.0-fpm \
php7.0-cli \
php7.0-common \
php7.0-curl \
php7.0-json \
php7.0-xml \
php7.0-mbstring \
php7.0-mcrypt \
php7.0-mysql \
php7.0-pgsql \
php7.0-sqlite \
php7.0-sqlite3 \
php7.0-zip \
php7.0-memcached \
php7.0-gd \
pkg-config \
php-dev \
libcurl4-openssl-dev \
libedit-dev \
libssl-dev \
libxml2-dev \
xz-utils \
libsqlite3-dev \
sqlite3 \
supervisor \
nodejs \
nodejs-dev \
npm \
curl \
git \
postgresql-client
# Install gulp and bower with NPM
RUN npm install -g \
gulp \
bower
# Add a symbolic link for Node
RUN ln -s /usr/bin/nodejs /usr/bin/node
# Install Composer
RUN curl -s http://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/ \
&& echo ""alias composer='/usr/local/bin/composer.phar'"" >> ~/.bashrc
# Source the bash
RUN . ~/.bashrc
# Clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#Define the ENV variable
ENV nginx_vhost /etc/nginx/sites-available/default
ENV php_conf /etc/php/7.0/fpm/php.ini
ENV nginx_conf /etc/nginx/nginx.conf
ENV supervisor_conf /etc/supervisor/supervisord.conf
# Enable php-fpm on nginx virtualhost configuration
COPY default ${nginx_vhost}
RUN sed -i -e 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' ${php_conf} && \
echo ""\ndaemon off;"" >> ${nginx_conf}
#Copy supervisor configuration
COPY supervisord.conf ${supervisor_conf}
RUN mkdir -p /run/php && \
chown -R www-data:www-data /var/www/html && \
chown -R www-data:www-data /run/php
# Volume configuration
VOLUME [""/etc/nginx/sites-enabled"", ""/etc/nginx/certs"", ""/etc/nginx/conf.d"", ""/var/log/nginx"", ""/var/www/html""]
WORKDIR /var/www/html
# Configure Services and Port
COPY start.sh /start.sh
#CMD [""./start.sh""]
ENTRYPOINT [""/bin/bash"", ""/start.sh""]
EXPOSE 80 443
",feature addition
124,3f3bfe330a10cf5fb526a77d757154e35d75bb9f,Fix sbt installation failure (#6782),"Fix sbt installation failure (#6782)
","FROM openjdk:11-jdk
RUN \
echo ""deb https://repo.scala-sbt.org/scalasbt/debian all main"" | tee /etc/apt/sources.list.d/sbt.list && \
echo ""deb https://repo.scala-sbt.org/scalasbt/debian /"" | tee /etc/apt/sources.list.d/sbt_old.list && \
curl -sL ""https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823"" | apt-key add && \
apt-get update && \
apt-get install sbt
WORKDIR /zhttp
COPY src src
COPY project project
COPY build.sbt build.sbt
RUN sbt assembly
EXPOSE 8080
CMD java -Xms2G -Xmx2G -server -jar /zhttp/target/scala-2.13/zio-http-assembly-1.0.0.jar","FROM hseeberger/scala-sbt:11.0.12_1.5.5_2.13.6
WORKDIR /zhttp
COPY src src
COPY project project
COPY build.sbt build.sbt
RUN sbt assembly
EXPOSE 8080
CMD java -Xms2G -Xmx2G -server -jar /zhttp/target/scala-2.13/zio-http-assembly-1.0.0.jar",bug fix
2255,822c8d00c424d46976b2eda3b8b6d21aa048b35d,Bumped source to 20220923-174c2a7,"Bumped source to 20220923-174c2a7
","FROM ghcr.io/dock0/arch:20220923-cb5ad15
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",,maintenance/other
318,6a1f7268b6d041552ff3003ac9e2cc39f4c0d676,Bumped source to 20210626-763909c,"Bumped source to 20210626-763909c
","FROM docker.pkg.github.com/dock0/ssh/ssh:20210626-e1eb5c6
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
","FROM docker.pkg.github.com/dock0/ssh/ssh:20210626-763909c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
",maintenance/other
1,a68622db0d2584eec3ea75541f6a9b792f31b66b,Bumped source to 20210409-b5c5905,"Bumped source to 20210409-b5c5905
","FROM docker.pkg.github.com/dock0/ssh/ssh:20210409-1dec76a
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
","FROM docker.pkg.github.com/dock0/ssh/ssh:20210409-b5c5905
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
",maintenance/other
200,1f9789afaa76db3037cf635e69dc223e85e30bb9,Bump vault to 0.5.1,Bump vault to 0.5.1,"FROM alpine:latest
MAINTAINER Christopher 'Chief' Najewicz <chief@beefdisciple.com>
ENV version=0.4.1
ADD https://releases.hashicorp.com/vault/${version}/vault_${version}_linux_amd64.zip /tmp/vault.zip
RUN \
cd /bin &&\
unzip /tmp/vault.zip &&\
chmod +x /bin/vault &&\
rm /tmp/vault.zip &&\
apk update &&\
apk add ca-certificates
EXPOSE 8200
VOLUME /etc/vault.hcl
ENTRYPOINT [""/bin/vault"", ""server""]
CMD [""-config=/etc/vault.hcl""]
","FROM alpine:latest
MAINTAINER Christopher 'Chief' Najewicz <chief@beefdisciple.com>
ENV version=0.5.1
ADD https://releases.hashicorp.com/vault/${version}/vault_${version}_linux_amd64.zip /tmp/vault.zip
RUN \
cd /bin &&\
unzip /tmp/vault.zip &&\
chmod +x /bin/vault &&\
rm /tmp/vault.zip &&\
apk update &&\
apk add ca-certificates
EXPOSE 8200
VOLUME /etc/vault.hcl
ENTRYPOINT [""/bin/vault"", ""server""]
CMD [""-config=/etc/vault.hcl""]
",maintenance/other
2313,c64ed57cd5b9956027f1c899ebd42dde6d2ff920,Update AWS CLI version to 1.11.31,"Update AWS CLI version to 1.11.31
","FROM python:3.5-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>
RUN \
mkdir -p /aws && \
pip install --upgrade awscli==1.11.30 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT [""aws""]
",,code refactoring
2087,53623af54c1e575d68f910e8f90b083725edaab5,Bump composer from 1.10.15 to 2.0.3,"Bump composer from 1.10.15 to 2.0.3
Bumps composer from 1.10.15 to 2.0.3.
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>","FROM composer:1.10.15 AS build-env
RUN composer global require humbug/box:^3.5 --prefer-dist --update-no-dev
COPY . /opt/msml/
WORKDIR /opt/msml
RUN composer install --prefer-dist --no-dev
RUN /tmp/vendor/bin/box build -v --no-interaction
FROM php:7.4.11-alpine
COPY --from=build-env /opt/msml/msml.phar /opt/msml/msml.phar
RUN apk add --no-cache tini=~0.19 mlmmj=~1.3
WORKDIR /workdir
VOLUME [""/workdir"", ""/var/spool/mlmmj""]
LABEL io.whalebrew.config.volumes '[""/var/spool/mlmmj:/var/spool/mlmmj""]'
LABEL io.whalebrew.config.working_dir '$PWD'
ENTRYPOINT [""/sbin/tini"", ""--"", ""php"", ""/opt/msml/msml.phar""]
",,maintenance/other
2315,5965789263b6a9cc9bb41ee4da4353772d796f2f,Upgrade maven to 3.6.3,Upgrade maven to 3.6.3,"FROM maven:3.6.1-jdk-11
RUN addgroup --gid 1000 build && adduser --uid 1000 --gid 1000 --disabled-password --gecos """" build
RUN apt-get -y update && apt-get -y install gnupg2 && apt-get install git -y
",,code refactoring
2080,adb2be314071c784d1028b09a97d965693c2358f,Bumped source to 20200221-c1d6556,"Bumped source to 20200221-c1d6556
","FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200221-2328bbc
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD [""/init""]
",,maintenance/other
2062,380e4512187a974551870fae164002d7ed339b88,Bumped source to 20210308-1635a55,"Bumped source to 20210308-1635a55
","FROM docker.pkg.github.com/dock0/arch/arch:20210308-896964d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",,maintenance/other
402,833a904c3de259c5bfd46241b4b1c12cb4e32b7a,Bumped source to 20201214-57e8d30,"Bumped source to 20201214-57e8d30
","FROM docker.pkg.github.com/dock0/arch/arch:20201214-6af4810
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
","FROM docker.pkg.github.com/dock0/arch/arch:20201214-57e8d30
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
",maintenance/other
276,a809cdc67fd580d20974a6c3c3b780d86b8fd918,Bumped source to 20200312-da9343c,"Bumped source to 20200312-da9343c
","FROM docker.pkg.github.com/dock0/arch/arch:20200312-d293217
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
","FROM docker.pkg.github.com/dock0/arch/arch:20200312-da9343c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
",maintenance/other
2094,5001ac0865c43808fa5b1c7686a6b150c7adaa94,Fix label,"Fix label
","FROM alpine:3.6
MAINTAINER Dmitry Prazdnichnov <dp@bambucha.org>
ARG VERSION=4.89-r5
LABEL org.label-schema.version=$VERSION \
org.label-schema.vcs-url=https://github.com/bambocher/exim-relay \
org.label-schema.license=MIT \
org.label-schema.schema-version=1.0
ENV RELAY_FROM_HOSTS=10.0.0.0/8:172.16.0.0/12:192.168.0.0/16 \
DKIM_KEY_SIZE=1024 \
DKIM_SELECTOR=dkim \
DKIM_SIGN_HEADERS=Date:From:To:Subject:Message-ID
RUN apk --no-cache add exim=$VERSION libcap openssl \
&& mkdir /dkim /var/log/exim /usr/lib/exim /var/spool/exim \
&& ln -s /dev/stdout /var/log/exim/main \
&& ln -s /dev/stderr /var/log/exim/panic \
&& ln -s /dev/stderr /var/log/exim/reject \
&& chown -R exim: /dkim /var/log/exim /usr/lib/exim /var/spool/exim \
&& chmod 0755 /usr/sbin/exim \
&& setcap cap_net_bind_service=+ep /usr/sbin/exim \
&& apk del libcap
COPY ./entrypoint.sh /
COPY ./exim.conf /etc/exim
USER exim
VOLUME [""/dkim""]
EXPOSE 25
ENTRYPOINT [""/entrypoint.sh""]
CMD [""-bdf"", ""-q15m""]
",,bug fix
21,3c291e8524e480c9a93cd84e61b1b2d7f238deeb,fix for stfp-server download,"fix for stfp-server download
","FROM node:10-alpine
LABEL author=""Michael Parker"" maintainer=""parker@pterodactyl.io""
COPY . /srv/daemon
WORKDIR /srv/daemon
RUN apk add --no-cache openssl make gcc g++ python linux-headers paxctl gnupg tar zip unzip curl coreutils zlib supervisor \
&& npm install --production \
&& addgroup -S pterodactyl && adduser -S -D -H -G pterodactyl -s /bin/false pterodactyl \
&& apk del --no-cache make gcc g++ python linux-headers paxctl gnupg \
&& curl https://github.com/pterodactyl/sftp-server/releases/download/$(curl --silent ""https://api.github.com/repos/pterodactyl/sftp-server/releases/latest"" | grep '""tag_name"":' | sed -E 's/.*""([^""]+)"".*/\1/')/sftp-server -o /srv/daemon/sftp-server \
&& mkdir -p /var/log/supervisord /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 \
&& chmod +x /srv/daemon/sftp-server \
&& chmod +x /srv/daemon/.docker/entrypoint.sh \
&& cp /srv/daemon/.docker/supervisord.conf /etc/supervisord.conf
EXPOSE 8080
ENTRYPOINT [ ""/bin/ash"", ""/srv/daemon/.docker/entrypoint.sh"" ]
CMD [ ""supervisord"", ""-n"", ""-c"", ""/etc/supervisord.conf"" ]","FROM node:10-alpine
LABEL author=""Michael Parker"" maintainer=""parker@pterodactyl.io""
COPY . /srv/daemon
WORKDIR /srv/daemon
RUN apk add --no-cache openssl make gcc g++ python linux-headers paxctl gnupg tar zip unzip curl coreutils zlib supervisor \
&& npm install --production \
&& addgroup -S pterodactyl && adduser -S -D -H -G pterodactyl -s /bin/false pterodactyl \
&& apk del --no-cache make gcc g++ python linux-headers paxctl gnupg \
&& curl -sSL https://github.com/pterodactyl/sftp-server/releases/download/$(curl --silent ""https://api.github.com/repos/pterodactyl/sftp-server/releases/latest"" | grep '""tag_name"":' | sed -E 's/.*""([^""]+)"".*/\1/')/sftp-server > /srv/daemon/sftp-server \
&& mkdir -p /var/log/supervisord /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 \
&& chmod +x /srv/daemon/sftp-server \
&& chmod +x /srv/daemon/.docker/entrypoint.sh \
&& cp /srv/daemon/.docker/supervisord.conf /etc/supervisord.conf
EXPOSE 8080
ENTRYPOINT [ ""/bin/ash"", ""/srv/daemon/.docker/entrypoint.sh"" ]
CMD [ ""supervisord"", ""-n"", ""-c"", ""/etc/supervisord.conf"" ]",bug fix
2071,1a597db40ba644c75eba0ab9412a3dffeefe9fb7,Bumped source to 20210307-6f0b0c0,"Bumped source to 20210307-6f0b0c0
","FROM docker.pkg.github.com/dock0/ssh/ssh:20210307-e654773
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
",,maintenance/other
283,96567e733419ec77bdd45a655235b27e176bafe7,Bumped source to 20210829-eae33f4,"Bumped source to 20210829-eae33f4
","FROM docker.pkg.github.com/dock0/arch/arch:20210829-511bb9b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
","FROM docker.pkg.github.com/dock0/arch/arch:20210829-eae33f4
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
",maintenance/other
148,b7b519ab621c54cf1957c8c685d19056971d2a88,Replace PHP_VERSION in nginx.conf,Replace PHP_VERSION in nginx.conf,"FROM ubuntu
LABEL maintainer=""sboulema@gmail.com""
ARG PHP_VERSION=7.3
RUN useradd ttrss
# add PHP repository
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:ondrej/php
# install PHP and extensions
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
nginx supervisor php${PHP_VERSION}-fpm php${PHP_VERSION}-cli php${PHP_VERSION}-curl php${PHP_VERSION}-gd php${PHP_VERSION}-json \
php${PHP_VERSION}-pgsql php${PHP_VERSION}-mysql php${PHP_VERSION}-mbstring php${PHP_VERSION}-xml \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /var/run/php
# enable mbstring modules
RUN phpenmod -v ${PHP_VERSION} mbstring && phpenmod -v ${PHP_VERSION} xml
# add ttrss as the only nginx site
ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss
RUN ln -s /etc/nginx/sites-available/ttrss /etc/nginx/sites-enabled/ttrss
RUN rm /etc/nginx/sites-enabled/default
# install ttrss and patch configuration
WORKDIR /var/www
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -SL https://git.tt-rss.org/git/tt-rss/archive/master.tar.gz | tar xzC /var/www --strip-components 1 \
&& apt-get purge -y --auto-remove curl \
&& chown www-data:www-data -R /var/www
RUN cp config.php-dist config.php
# expose only nginx HTTP port
EXPOSE 80
# complete path to ttrss
ENV SELF_URL_PATH http://localhost
# expose default database credentials via ENV in order to ease overwriting
ENV DB_NAME ttrss
ENV DB_USER ttrss
ENV DB_PASS ttrss
# set permissions on directories
RUN chmod -R 777 cache/images && \
chmod -R 777 cache/upload && \
chmod -R 777 cache/export && \
chmod -R 777 feed-icons && \
chmod -R 777 lock
# always re-configure database with current ENV when RUNning container, then monitor all services
ADD configure-db.php /configure-db.php
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN sed -i ""s/PHP_VERSION/${PHP_VERSION}/"" /etc/supervisor/conf.d/supervisord.conf
CMD php /configure-db.php && supervisord -c /etc/supervisor/conf.d/supervisord.conf","FROM ubuntu
LABEL maintainer=""sboulema@gmail.com""
ARG PHP_VERSION=7.3
RUN useradd ttrss
# add PHP repository
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:ondrej/php
# install PHP and extensions
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
nginx supervisor php${PHP_VERSION}-fpm php${PHP_VERSION}-cli php${PHP_VERSION}-curl php${PHP_VERSION}-gd php${PHP_VERSION}-json \
php${PHP_VERSION}-pgsql php${PHP_VERSION}-mysql php${PHP_VERSION}-mbstring php${PHP_VERSION}-xml \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /var/run/php
# enable mbstring modules
RUN phpenmod -v ${PHP_VERSION} mbstring && phpenmod -v ${PHP_VERSION} xml
# add ttrss as the only nginx site
ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss
RUN sed -i ""s/PHP_VERSION/${PHP_VERSION}/"" /etc/nginx/sites-available/ttrss
RUN ln -s /etc/nginx/sites-available/ttrss /etc/nginx/sites-enabled/ttrss
RUN rm /etc/nginx/sites-enabled/default
# install ttrss and patch configuration
WORKDIR /var/www
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -SL https://git.tt-rss.org/git/tt-rss/archive/master.tar.gz | tar xzC /var/www --strip-components 1 \
&& apt-get purge -y --auto-remove curl \
&& chown www-data:www-data -R /var/www
RUN cp config.php-dist config.php
# expose only nginx HTTP port
EXPOSE 80
# complete path to ttrss
ENV SELF_URL_PATH http://localhost
# expose default database credentials via ENV in order to ease overwriting
ENV DB_NAME ttrss
ENV DB_USER ttrss
ENV DB_PASS ttrss
# set permissions on directories
RUN chmod -R 777 cache/images && \
chmod -R 777 cache/upload && \
chmod -R 777 cache/export && \
chmod -R 777 feed-icons && \
chmod -R 777 lock
# always re-configure database with current ENV when RUNning container, then monitor all services
ADD configure-db.php /configure-db.php
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN sed -i ""s/PHP_VERSION/${PHP_VERSION}/"" /etc/supervisor/conf.d/supervisord.conf
CMD php /configure-db.php && supervisord -c /etc/supervisor/conf.d/supervisord.conf
",code refactoring
2070,215e9ea967943b897ea5cf2e7e92db78fecb4598,"Upgrade system packages, in case any are out of date in the base image.","Upgrade system packages, in case any are out of date in the base image.
","FROM buildpack-deps:jessie
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gettext \
jq \
nano \
nginx \
postgresql-client \
python \
python-dev \
pv \
&& rm -rf /var/lib/apt/lists/*
ENV NODE_VERSION=4.4.2
RUN wget -nv -O - ""https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz"" | tar -Jx -C /opt/ -f -
RUN ln -s ""/opt/node-v${NODE_VERSION}-linux-x64/bin/node"" /usr/local/bin/
RUN ln -s ""/opt/node-v${NODE_VERSION}-linux-x64/bin/npm"" /usr/local/bin/
WORKDIR /opt/django-icekit/project_template/
COPY project_template/package.json /opt/django-icekit/project_template/
RUN npm install && rm -rf /root/.npm
RUN md5sum package.json > package.json.md5
ENV PATH=/opt/django-icekit/project_template/node_modules/.bin:$PATH
COPY project_template/bower.json /opt/django-icekit/project_template/
RUN bower install --allow-root && rm -rf /root/.cache/bower
RUN md5sum bower.json > bower.json.md5
WORKDIR /opt/django-icekit/
RUN wget -nv -O - https://bootstrap.pypa.io/get-pip.py | python
COPY requirements.txt setup.py /opt/django-icekit/
RUN pip install --no-cache-dir -r requirements.txt
RUN touch requirements-local.txt
RUN md5sum requirements.txt requirements-local.txt > requirements.md5
ENV DOCKERIZE_VERSION=0.2.0
RUN wget -nv -O - ""https://github.com/jwilder/dockerize/releases/download/v${DOCKERIZE_VERSION}/dockerize-linux-amd64-v${DOCKERIZE_VERSION}.tar.gz"" | tar -xz -C /usr/local/bin/ -f -
ENV TINI_VERSION=0.9.0
RUN wget -nv -O /usr/local/bin/tini ""https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static""
RUN chmod +x /usr/local/bin/tini
ENV DOCKER_COMMIT=0a214841ace30f8ff67cd1c3a9c2214b62eb4619
RUN cd /usr/local/bin \
&& wget -N -nv ""https://raw.githubusercontent.com/ixc/docker/${DOCKER_COMMIT}/bin/transfer.sh"" \
&& chmod +x *.sh
# See: https://github.com/codekitchen/dinghy/issues/17#issuecomment-209545602
# RUN echo ""int chown() { return 0; }"" > preload.c && gcc -shared -o /libpreload.so preload.c && rm preload.c
# ENV LD_PRELOAD=/libpreload.so
ENV CRONLOCK_HOST=redis
ENV DOCKER=1
ENV ICEKIT_DIR=/opt/django-icekit/icekit
ENV ICEKIT_PROJECT_DIR=/opt/django-icekit/project_template
ENV PATH=/opt/django-icekit/icekit/bin:$PATH
ENV PGHOST=postgres
ENV PGUSER=postgres
ENV REDIS_ADDRESS=redis:6379
ENV SUPERVISORD_CONFIG_INCLUDE=supervisord-django.conf
ENV WAITLOCK_ENABLE=1
VOLUME /root
ENTRYPOINT [""tini"", ""--"", ""entrypoint.sh""]
COPY . /opt/django-icekit/
RUN manage.py collectstatic --noinput --verbosity=0
RUN manage.py compress --verbosity=0
",,code refactoring
2268,2e1d77f9dda1e76c063115efeebcfae9b3f20960,Fixed typo,"Fixed typo
","#
# Copyright 2017 Frank Breedijk
#
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an ""AS IS"" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ------------------------------------------------------------------------------
# This program creates users from the command line, usefull if you have not set
# up any users in the web gui, or if you are writing Seccubus and the GUI does
# not exist yet ;)
# ------------------------------------------------------------------------------
#
FROM centos:7
RUN yum install -y epel-release && \
yum update -y && \
yum install -y perl mariadb-server ""perl(Algorithm::Diff)"" ""perl(CGI)"" ""perl(CGI::Carp)"" \
""perl(DBI)"" ""perl(DBD::mysql)"" ""perl(Data::Dumper)"" ""perl(Date::Format)"" ""perl(HTML::Entities)"" \
""perl(JSON)"" ""perl(LWP::Simple)"" ""perl(LWP::Protocol::https)"" ""perl(LWP::UserAgent)"" \
""perl(Net::IP)"" ""perl(XML::Simple)"" httpd nmap which git java-1.7.0-openjdk make \
""perl(ExtUtils::MakeMaker)"" wgetn cronie
RUN mkdir -p /build/seccubus
COPY . /build/seccubus/
COPY docker-install.sh /tmp/install.sh
RUN bash -x /tmp/install.sh && rm /tmp/install.sh
COPY docker-files /
COPY README.md /
ENTRYPOINT [""/entrypoint.sh""]
VOLUME [ ""/opt/seccubus/data"" ]
EXPOSE 80
",,bug fix
2172,2fe62381cecd109e806b931537f7eeac738e1983,Bumped source to 20200524-67066f8,"Bumped source to 20200524-67066f8
","FROM docker.pkg.github.com/dock0/arch/arch:20200524-7f4a64f
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",,maintenance/other
2247,872f11ca02e12c356fa43591975e7638b13fc37e,Bumped source to 20210809-4fe8688,"Bumped source to 20210809-4fe8688
","FROM docker.pkg.github.com/dock0/ssh/ssh:20210809-ca0e3f1
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c ""git clone git://github.com/akerl/....git /home/$ADMIN/...""
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
",,maintenance/other
175,debbdb67193c8fd0743620c0ea2fa0bf51e0b01b,Update eventtask mq docker container location,"Update eventtask mq docker container location
","FROM mozdef_base:latest
COPY mq /opt/mozdef/envs/mozdef/mq
COPY docker/compose/mozdef_mq_worker/files/esworker_eventtask.conf /opt/mozdef/envs/mozdef/mq/esworker_eventtask.conf
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/mq
WORKDIR /opt/mozdef/envs/mozdef/mq
USER mozdef
","FROM mozdef_base:latest
COPY mq /opt/mozdef/envs/mozdef/mq
COPY docker/compose/mozdef_mq_eventtask/files/esworker_eventtask.conf /opt/mozdef/envs/mozdef/mq/esworker_eventtask.conf
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/mq
WORKDIR /opt/mozdef/envs/mozdef/mq
USER mozdef
",feature addition
2068,6de6d4e30f38007c6eb5f9fe33388a0f6d94e9bb,Bumped source to 20200406-9f83f83,"Bumped source to 20200406-9f83f83
","FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200406-dc2dd73
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD [""/init""]
",,maintenance/other
42,7db29b727bd32f94bc93c23a1be22097505814e5,Bumped source to 20200324-affedd8,"Bumped source to 20200324-affedd8
","FROM docker.pkg.github.com/dock0/service/service:20200324-3cdf3ad
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
","FROM docker.pkg.github.com/dock0/service/service:20200324-affedd8
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
",maintenance/other
324,05f1c8520b99441e0c4355c50f281a18cf826d03,Bumped source to 20200709-ee22efe,"Bumped source to 20200709-ee22efe
","FROM docker.pkg.github.com/dock0/arch/arch:20200709-5b511ae
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
","FROM docker.pkg.github.com/dock0/arch/arch:20200709-ee22efe
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
",maintenance/other
2178,86f782a31e401dfd469b5b40791402925e2a241b,Removed unneeded command newline,"Removed unneeded command newline
","FROM ferrarimarco/pxe:dev-latest
LABEL maintainer ""ferrari.marco@gmail.com""
RUN apt-get update \
&& apt-get install p7zip-full
WORKDIR /var/lib/tftpboot
ENV UBUNTU_SERVER_MAJOR_MINOR_VERSION 16.04
ENV UBUNTU_SERVER_POINT_VERSION 2
ENV UBUNTU_SERVER_VERSION $UBUNTU_SERVER_MAJOR_MINOR_VERSION.$UBUNTU_SERVER_POINT_VERSION
RUN mkdir ubuntu \
&& wget http://releases.ubuntu.com/$UBUNTU_SERVER_MAJOR_MINOR_VERSION/ubuntu-$UBUNTU_SERVER_VERSION-server-amd64.iso
RUN 7z x ubuntu-$UBUNTU_SERVER_VERSION-server-amd64.iso \
RUN rm ubuntu-$UBUNTU_SERVER_VERSION-server-amd64.iso
RUN apt-get remove -y --purge p7zip-full
",,code refactoring
2146,838b5d6524a462d2976d0634f1263dc9c0082cfa,Dockerfile update,Dockerfile update,"FROM alpine
MAINTAINER Philipp Rescheneder <philipp.rescheneder@gmail.com>
ARG VERSION_ARG
# Install curl
RUN apk --update upgrade && \
apk add git curl ca-certificates && \
update-ca-certificates && \
rm -rf /var/cache/apk/*
# Get most recent ngmlr version from github
RUN echo $VERSION_ARG
#RUN curl -L `curl -s https://api.github.com/repos/philres/ngmlr/releases | grep browser_download_url | head -n 1 | cut -d '""' -f 4` | tar xz && cp ./ngmlr-*/ngmlr /bin/ && rm -rf ngmlr-*
RUN git clone https://github.com/philres/ngmlr.git && cd ngmlr && git checkout $VERSION_ARG && mkdir -p build && cd build && cmake .. && make && cp ../bin/ngmlr-*/ngmlr /bin/ && cd .. && rm -rf ngmlr ",,code refactoring
2295,0deec4082f529a744869c0098d2e909fbb057efc,Add missing tidy extension on Docker,"Add missing tidy extension on Docker
It's required in the 2.4 version
","FROM php:7.2-fpm
# Default timezone. To change it, use the argument in the docker-compose.yml file
ARG timezone='Europe/Paris'
RUN apt-get update && apt-get install -y \
libmcrypt-dev \
libicu-dev \
libpq-dev \
libxml2-dev \
libpng-dev \
libjpeg-dev \
libsqlite3-dev \
imagemagick \
libmagickwand-dev
RUN docker-php-ext-install \
iconv \
mbstring \
intl \
pdo \
pdo_mysql \
pdo_pgsql \
pdo_sqlite
RUN printf ""\n"" | pecl install imagick && docker-php-ext-enable imagick
RUN echo ""date.timezone=""$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
RUN usermod -u 1000 www-data
CMD [""php-fpm""]
",,feature addition
2174,09656ba14c3b85c53b2e276a1329e351227c52ef,Bump cucoslib version,"Bump cucoslib version
","FROM registry.centos.org/centos/centos:7
MAINTAINER Fridolin Pokorny <fridolin@redhat.com>
ENV LANG=en_US.UTF-8 \
MAVEN_INDEX_CHECKER_PATH='/opt/maven-index-checker' \
CUCOSLIB_VERSION=d6111a6
RUN useradd coreapi
RUN yum install -y epel-release && \
yum install -y python34-devel python34-pip postgresql-devel gcc git maven zip unzip && \
yum clean all
# Install maven-index-checker
COPY hack/install_maven-index-checker.sh /tmp/install_deps/
RUN /tmp/install_deps/install_maven-index-checker.sh
COPY ./ /tmp/jobs_install/
RUN pushd /tmp/jobs_install &&\
pip3 install . &&\
pip3 install git+https://github.com/fabric8-analytics/fabric8-analytics-worker.git@${CUCOSLIB_VERSION} &&\
popd &&\
rm -rf /tmp/jobs_install
# A temporary hack to keep Selinon up2date
COPY hack/update_selinon.sh /tmp/
RUN sh /tmp/update_selinon.sh
COPY hack/run_jobs.sh /usr/bin/
COPY f8a-jobs.py /usr/bin/
USER coreapi
CMD [""/usr/bin/run_jobs.sh""]
",,maintenance/other
91,3d01077cd85d701495b1c49c97fb1d9f7eda6a7e,update node version,"update node version
","FROM node:7.9-onbuild
# Set timezone
RUN echo Europe/Samara | tee /etc/timezone; \
dpkg-reconfigure --frontend noninteractive tzdata
","FROM node:8.2-onbuild
# Set timezone
RUN echo Europe/Samara | tee /etc/timezone; \
dpkg-reconfigure --frontend noninteractive tzdata
",code refactoring
186,36f8fc5dcb8073338fb47db730e3306c04c09e40,[Dockerfile] update Dockerfile,"[Dockerfile] update Dockerfile
","
FROM ubuntu:17.04
MAINTAINER Dockerfiles<qiushimao@hotmail.com>
# Install required packages and remove the apt packages cache when done.
RUN apt-get install -y \
git \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
nginx \
curl \
supervisor \
sqlite3 && \
pip3 install -U pip setuptools && \
rm -rf /var/lib/apt/lists/*
# install uwsgi now because it takes a little while
RUN pip3 install uwsgi
RUN pip3 install django
RUN pip3 install django-cors-headers
# setup all the configfiles
RUN echo ""daemon off;"" >> /etc/nginx/nginx.conf
COPY nginx-app.conf /etc/nginx/sites-available/default
COPY supervisor-app.conf /etc/supervisor/conf.d/
COPY . /home/docker/jpsp/
RUN curl http://npmjs.org/install.sh | sh
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
RUN cd /home/docker/jpsp/jpsp/frontend
RUN cnpm install
RUN npm build
RUN python3 /home/docker/jpsp/jpsp/manage.py collectstatic
# COPY requirements.txt and RUN pip install BEFORE adding the rest of your code, this will cause Docker's caching mechanism
# to prevent re-installing (all your) dependencies when you made a change a line or two in your app.
# install django, normally you would remove this step because your project would already
# be installed in the code/app/ directory
EXPOSE 80
CMD [""supervisord"", ""-n""]","
FROM ubuntu:17.04
MAINTAINER Dockerfiles<qiushimao@hotmail.com>
# Install required packages and remove the apt packages cache when done.
RUN apt-get upgrade && \
apt-get install -y \
git \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
nginx \
curl \
supervisor \
sqlite3 && \
pip3 install -U pip setuptools && \
rm -rf /var/lib/apt/lists/*
# install uwsgi now because it takes a little while
RUN pip3 install uwsgi
RUN pip3 install django
RUN pip3 install django-cors-headers
# setup all the configfiles
RUN echo ""daemon off;"" >> /etc/nginx/nginx.conf
COPY nginx-app.conf /etc/nginx/sites-available/default
COPY supervisor-app.conf /etc/supervisor/conf.d/
COPY . /home/docker/jpsp/
RUN curl http://npmjs.org/install.sh | sh
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
RUN cd /home/docker/jpsp/jpsp/frontend
RUN cnpm install
RUN npm build
RUN python3 /home/docker/jpsp/jpsp/manage.py collectstatic
# COPY requirements.txt and RUN pip install BEFORE adding the rest of your code, this will cause Docker's caching mechanism
# to prevent re-installing (all your) dependencies when you made a change a line or two in your app.
# install django, normally you would remove this step because your project would already
# be installed in the code/app/ directory
EXPOSE 80
CMD [""supervisord"", ""-n""]",Not enough inforamtion
90,f2b03604c755961e0d43373c95de015b8b92c436,Bumped source to 20210707-b2e7a50,"Bumped source to 20210707-b2e7a50
","FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20210707-5fb8f2e
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD [""/init""]
","FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20210707-b2e7a50
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD [""/init""]
",maintenance/other
57,d3c4bc4e73bc096d9ddf2fdf637509e4e2453622,Add data from previous containers to speed up sync,"Add data from previous containers to speed up sync
","FROM ubuntu:16.04
COPY config/redis.config /etc/redis/redis.config
COPY config/sasl_passwd_template /
COPY config/main.cf_template /
COPY config/ldapUserSync/* /ldapUserSync/
COPY start /start
ENV DEBIAN_FRONTEND=noninteractive \
OV_PASSWORD=admin \
PUBLIC_HOSTNAME=openvas
RUN apt-get update && \
apt-get install software-properties-common --no-install-recommends -yq && \
add-apt-repository ppa:mikesplain/openvas -y && \
add-apt-repository ppa:mrazavi/openvas -y && \
apt-get clean && \
apt-get update && \
apt-get install alien \
autotools-dev \
bind9-host \
binutils \
bsdmainutils \
build-essential \
bzip2 \
ca-certificates \
cpio \
cpp \
cpp-5 \
curl \
debhelper \
debugedit \
dh-python \
dh-strip-nondeterminism \
dirb \
dirmngr \
dnsutils \
dpkg-dev \
fakeroot \
file \
fontconfig \
fontconfig-config \
fonts-dejavu-core \
fonts-lato \
fonts-liberation \
fonts-lmodern \
fonts-texgyre \
g++ \
g++-5 \
gcc \
gcc-5 \
geoip-database \
gettext \
gettext-base \
ghostscript \
gir1.2-glib-2.0:amd64 \
gnupg-agent \
gnupg2 \
gnutls-bin \
graphviz \
groff-base \
gsfonts \
hicolor-icon-theme \
ifupdown \
intltool-debian \
iproute2 \
isc-dhcp-client \
isc-dhcp-common \
javascript-common \
ldap-utils \
libalgorithm-diff-perl \
libalgorithm-diff-xs-perl \
libalgorithm-merge-perl \
libapr1:amd64 \
libaprutil1:amd64 \
libarchive-zip-perl \
libarchive13:amd64 \
libasan2:amd64 \
libasn1-8-heimdal:amd64 \
libasprintf-dev:amd64 \
libasprintf0v5:amd64 \
libassuan0:amd64 \
libatk1.0-0:amd64 \
libatk1.0-data \
libatm1:amd64 \
libatomic1:amd64 \
libauthen-sasl-perl \
libavahi-client3:amd64 \
libavahi-common-data:amd64 \
libavahi-common3:amd64 \
libbind9-140:amd64 \
libblas-common \
libblas3 \
libbsd0:amd64 \
libc-dev-bin \
libc6-dev:amd64 \
libcairo2:amd64 \
libcc1-0:amd64 \
libcdt5 \
libcgraph6 \
libcilkrts5:amd64 \
libcroco3:amd64 \
libcups2:amd64 \
libcupsfilters1:amd64 \
libcupsimage2:amd64 \
libcurl3:amd64 \
libcurl3-gnutls:amd64 \
libdatrie1:amd64 \
libdbus-1-3:amd64 \
libdns-export162 \
libdns162:amd64 \
libdpkg-perl \
libdrm-amdgpu1:amd64 \
libdrm-common \
libdrm-intel1:amd64 \
libdrm-nouveau2:amd64 \
libdrm-radeon1:amd64 \
libdrm2:amd64 \
libedit2:amd64 \
libelf1:amd64 \
libencode-locale-perl \
libexpat1:amd64 \
libfakeroot:amd64 \
libffi6:amd64 \
libfile-basedir-perl \
libfile-desktopentry-perl \
libfile-fcntllock-perl \
libfile-homedir-perl \
libfile-listing-perl \
libfile-mimeinfo-perl \
libfile-stripnondeterminism-perl \
libfile-which-perl \
libfont-afm-perl \
libfontconfig1:amd64 \
libfontenc1:amd64 \
libfreetype6:amd64 \
libgcc-5-dev:amd64 \
libgd3:amd64 \
libgdbm3:amd64 \
libgdk-pixbuf2.0-0:amd64 \
libgdk-pixbuf2.0-common \
libgeoip1:amd64 \
libgettextpo-dev:amd64 \
libgettextpo0:amd64 \
libgirepository-1.0-1:amd64 \
libgl1-mesa-dri:amd64 \
libgl1-mesa-glx:amd64 \
libglapi-mesa:amd64 \
libglib2.0-0:amd64 \
libgmp10:amd64 \
libgnutls30:amd64 \
libgomp1:amd64 \
libgpgme11:amd64 \
libgraphite2-3:amd64 \
libgs9:amd64 \
libgs9-common \
libgssapi-krb5-2:amd64 \
libgssapi3-heimdal:amd64 \
libgtk2.0-0:amd64 \
libgtk2.0-bin \
libgtk2.0-common \
libgtksourceview2.0-0 \
libgtksourceview2.0-common \
libgvc6 \
libgvpr2 \
libharfbuzz-icu0:amd64 \
libharfbuzz0b:amd64 \
libhcrypto4-heimdal:amd64 \
libheimbase1-heimdal:amd64 \
libheimntlm0-heimdal:amd64 \
libhiredis0.13:amd64 \
libhogweed4:amd64 \
libhtml-form-perl \
libhtml-format-perl \
libhtml-parser-perl \
libhtml-tagset-perl \
libhtml-tree-perl \
libhttp-cookies-perl \
libhttp-daemon-perl \
libhttp-date-perl \
libhttp-message-perl \
libhttp-negotiate-perl \
libhx509-5-heimdal:amd64 \
libice6:amd64 \
libicu55:amd64 \
libidn11:amd64 \
libijs-0.35:amd64 \
libio-html-perl \
libio-socket-ssl-perl \
libipc-system-simple-perl \
libisc-export160 \
libisc160:amd64 \
libisccc140:amd64 \
libisccfg140:amd64 \
libisl15:amd64 \
libitm1:amd64 \
libjbig0:amd64 \
libjbig2dec0 \
libjemalloc1 \
libjpeg-turbo8:amd64 \
libjpeg8:amd64 \
libjs-jquery \
libk5crypto3:amd64 \
libkeyutils1:amd64 \
libkpathsea6:amd64 \
libkrb5-26-heimdal:amd64 \
libkrb5-3:amd64 \
libkrb5support0:amd64 \
libksba8:amd64 \
liblcms2-2:amd64 \
libldap-2.4-2:amd64 \
libldb1:amd64 \
liblinear3:amd64 \
libllvm6.0:amd64 \
liblsan0:amd64 \
libltdl7:amd64 \
liblua5.2-0:amd64 \
liblwp-mediatypes-perl \
liblwp-protocol-https-perl \
liblwres141:amd64 \
liblzo2-2:amd64 \
libmagic1:amd64 \
libmail-sendmail-perl \
libmailtools-perl \
libmicrohttpd10 \
libmnl0:amd64 \
libmpc3:amd64 \
libmpdec2:amd64 \
libmpfr4:amd64 \
libmpx0:amd64 \
libnet-dbus-perl \
libnet-http-perl \
libnet-smtp-ssl-perl \
libnet-ssleay-perl \
libnettle6:amd64 \
libnpth0:amd64 \
libnspr4:amd64 \
libnss3:amd64 \
libnss3-nssdb \
libopenvas9 \
libopenvas9-dev \
libopts25:amd64 \
libp11-kit0:amd64 \
libpango-1.0-0:amd64 \
libpangocairo-1.0-0:amd64 \
libpangoft2-1.0-0:amd64 \
libpaper-utils \
libpaper1:amd64 \
libpathplan4 \
libpcap0.8:amd64 \
libpci3:amd64 \
libpciaccess0:amd64 \
libperl5.22:amd64 \
libpipeline1:amd64 \
libpixman-1-0:amd64 \
libpng12-0:amd64 \
libpoppler58:amd64 \
libpopt0:amd64 \
libpotrace0 \
libptexenc1:amd64 \
libpython-stdlib:amd64 \
libpython2.7:amd64 \
libpython2.7-minimal:amd64 \
libpython2.7-stdlib:amd64 \
libpython3-stdlib:amd64 \
libpython3.5-minimal:amd64 \
libpython3.5-stdlib:amd64 \
libquadmath0:amd64 \
libroken18-heimdal:amd64 \
librpm3 \
librpmbuild3 \
librpmio3 \
librpmsign3 \
librtmp1:amd64 \
libruby2.3:amd64 \
libsasl2-2:amd64 \
libsasl2-modules:amd64 \
libsasl2-modules-db:amd64 \
libsensors4:amd64 \
libserf-1-1:amd64 \
libsm6:amd64 \
libsmbclient:amd64 \
libsnmp-base \
libsnmp30:amd64 \
libsqlite3-0:amd64 \
libssh-4:amd64 \
libssl1.0.0:amd64 \
libstdc++-5-dev:amd64 \
libsvn1:amd64 \
libsynctex1:amd64 \
libsys-hostname-long-perl \
libtalloc2:amd64 \
libtasn1-6:amd64 \
libtcl8.6:amd64 \
libtdb1:amd64 \
libtevent0:amd64 \
libtexlua52:amd64 \
libtexluajit2:amd64 \
libtext-iconv-perl \
libthai-data \
libthai0:amd64 \
libtie-ixhash-perl \
libtiff5:amd64 \
libtimedate-perl \
libtk8.6:amd64 \
libtsan0:amd64 \
libtxc-dxtn-s2tc0:amd64 \
libubsan0:amd64 \
libunistring0:amd64 \
liburi-perl \
libutempter0:amd64 \
libvpx3:amd64 \
libwbclient0:amd64 \
libwhisker2-perl \
libwind0-heimdal:amd64 \
libwrap0:amd64 \
libwww-perl \
libwww-robotrules-perl \
libx11-6:amd64 \
libx11-data \
libx11-protocol-perl \
libx11-xcb1:amd64 \
libxau6:amd64 \
libxaw7:amd64 \
libxcb-dri2-0:amd64 \
libxcb-dri3-0:amd64 \
libxcb-glx0:amd64 \
libxcb-present0:amd64 \
libxcb-render0:amd64 \
libxcb-shape0:amd64 \
libxcb-shm0:amd64 \
libxcb-sync1:amd64 \
libxcb1:amd64 \
libxcomposite1:amd64 \
libxcursor1:amd64 \
libxdamage1:amd64 \
libxdmcp6:amd64 \
libxext6:amd64 \
libxfixes3:amd64 \
libxft2:amd64 \
libxi6:amd64 \
libxinerama1:amd64 \
libxml-parser-perl \
libxml-twig-perl \
libxml-xpathengine-perl \
libxml2:amd64 \
libxmu6:amd64 \
libxmuu1:amd64 \
libxpm4:amd64 \
libxrandr2:amd64 \
libxrender1:amd64 \
libxshmfence1:amd64 \
libxslt1.1:amd64 \
libxss1:amd64 \
libxt6:amd64 \
libxtables11:amd64 \
libxtst6:amd64 \
libxv1:amd64 \
libxxf86dga1:amd64 \
libxxf86vm1:amd64 \
libyaml-0-2:amd64 \
libyaml-tiny-perl \
libzzip-0-13:amd64 \
linux-libc-dev:amd64 \
lmodern \
lua-lpeg:amd64 \
make \
man-db \
manpages \
manpages-dev \
mime-support \
ndiff \
net-tools \
netbase \
nikto \
nmap \
nsis \
nsis-common \
openssh-client \
openssl \
openvas9 \
openvas9-cli \
openvas9-gsa \
openvas9-manager \
openvas9-scanner \
patch \
perl \
perl-modules-5.22 \
pinentry-curses \
po-debconf \
poppler-data \
postfix \
preview-latex-style \
prosper \
ps2eps \
python \
python-beautifulsoup \
python-bs4 \
python-cairo \
python-cffi-backend \
python-chardet \
python-crypto \
python-cryptography \
python-defusedxml \
python-enum34 \
python-gi \
python-gobject \
python-gobject-2 \
python-gtk2 \
python-gtksourceview2 \
python-html5lib \
python-idna \
python-ipaddress \
python-ldb \
python-lxml \
python-minimal \
python-ndg-httpsclient \
python-openssl \
python-pkg-resources \
python-pyasn1 \
python-pypdf \
python-pysqlite2 \
python-requests \
python-samba \
python-scapy \
python-simplejson \
python-six \
python-soappy \
python-svn \
python-talloc \
python-tdb \
python-urllib3 \
python-wstools \
python2.7 \
python2.7-minimal \
python3 \
python3-minimal \
python3.5 \
python3.5-minimal \
rake \
redis-server \
redis-tools \
rename \
rpm \
rpm-common \
rpm2cpio \
rsync \
ruby \
ruby-did-you-mean \
ruby-minitest \
ruby-net-telnet \
ruby-power-assert \
ruby-test-unit \
ruby2.3 \
rubygems-integration \
samba-common \
samba-common-bin \
samba-libs:amd64 \
sgml-base \
shared-mime-info \
smbclient \
socat \
sqlite3 \
sshpass \
ssl-cert \
t1utils \
tcl \
tcl8.6 \
tcpd \
tex-common \
tex-gyre \
texlive-base \
texlive-binaries \
texlive-extra-utils \
texlive-font-utils \
texlive-fonts-recommended \
texlive-fonts-recommended-doc \
texlive-generic-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
texlive-pictures \
texlive-pstricks \
tipa \
tk \
tk8.6 \
tzdata \
ucf \
unzip \
w3af \
w3af-console \
wapiti \
wget \
x11-common \
x11-utils \
x11-xserver-utils \
xauth \
xbitmaps \
xdg-utils \
xml-core \
xsltproc \
xterm \
xz-utils \
zip \
-yq --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
RUN wget -q https://github.com/Arachni/arachni/releases/download/v1.5.1/arachni-1.5.1-0.5.12-linux-x86_64.tar.gz && \
tar -zxf arachni-1.5.1-0.5.12-linux-x86_64.tar.gz && \
mv arachni-1.5.1-0.5.12 /opt/arachni && \
ln -s /opt/arachni/bin/* /usr/local/bin/ && \
rm -rf arachni*
RUN mkdir -p /var/run/redis && \
wget -q --no-check-certificate \
https://svn.wald.intevation.org/svn/openvas/branches/tools-attic/openvas-check-setup \
-O /openvas-check-setup && \
chmod +x /openvas-check-setup && \
sed -i 's/DAEMON_ARGS=""""/DAEMON_ARGS=""-a 0.0.0.0""/' /etc/init.d/openvas-manager && \
sed -i 's/DAEMON_ARGS=""""/DAEMON_ARGS=""--mlisten 127.0.0.1 -m 9390 --gnutls-priorities=SECURE128:-AES-128-CBC:-CAMELLIA-128-CBC:-VERS-SSL3.0:-VERS-TLS1.0""/' /etc/init.d/openvas-gsa && \
sed -i '/^\[ -n ""$HTTP_STS_MAX_AGE"" \]/a[ -n ""$PUBLIC_HOSTNAME"" ] && DAEMON_ARGS=""$DAEMON_ARGS --allow-header-host=$PUBLIC_HOSTNAME""' /etc/init.d/openvas-gsa && \
sed -i 's/PORT_NUMBER=4000/PORT_NUMBER=443/' /etc/default/openvas-gsa && \
greenbone-nvt-sync > /dev/null && \
greenbone-scapdata-sync > /dev/null && \
greenbone-certdata-sync > /dev/null && \
BUILD=true /start && \
service openvas-scanner stop && \
service openvas-manager stop && \
service openvas-gsa stop && \
service redis-server stop
ENV BUILD=""""
CMD /start
EXPOSE 443 9390
","# Start by pulling down our existing container
# to sync 1.9 Gb of data from OpenVAS.
FROM mikesplain/openvas
FROM ubuntu:16.04
COPY --from=0 /var/lib/openvas /var/lib/openvas
COPY config/redis.config /etc/redis/redis.config
COPY config/sasl_passwd_template /
COPY config/main.cf_template /
COPY config/ldapUserSync/* /ldapUserSync/
COPY start /start
ENV DEBIAN_FRONTEND=noninteractive \
OV_PASSWORD=admin \
PUBLIC_HOSTNAME=openvas
RUN apt-get update && \
apt-get install software-properties-common --no-install-recommends -yq && \
add-apt-repository ppa:mikesplain/openvas -y && \
add-apt-repository ppa:mrazavi/openvas -y && \
apt-get clean && \
apt-get update && \
apt-get install alien \
autotools-dev \
bind9-host \
binutils \
bsdmainutils \
build-essential \
bzip2 \
ca-certificates \
cpio \
cpp \
cpp-5 \
curl \
debhelper \
debugedit \
dh-python \
dh-strip-nondeterminism \
dirb \
dirmngr \
dnsutils \
dpkg-dev \
fakeroot \
file \
fontconfig \
fontconfig-config \
fonts-dejavu-core \
fonts-lato \
fonts-liberation \
fonts-lmodern \
fonts-texgyre \
g++ \
g++-5 \
gcc \
gcc-5 \
geoip-database \
gettext \
gettext-base \
ghostscript \
gir1.2-glib-2.0:amd64 \
gnupg-agent \
gnupg2 \
gnutls-bin \
graphviz \
groff-base \
gsfonts \
hicolor-icon-theme \
ifupdown \
intltool-debian \
iproute2 \
isc-dhcp-client \
isc-dhcp-common \
javascript-common \
ldap-utils \
libalgorithm-diff-perl \
libalgorithm-diff-xs-perl \
libalgorithm-merge-perl \
libapr1:amd64 \
libaprutil1:amd64 \
libarchive-zip-perl \
libarchive13:amd64 \
libasan2:amd64 \
libasn1-8-heimdal:amd64 \
libasprintf-dev:amd64 \
libasprintf0v5:amd64 \
libassuan0:amd64 \
libatk1.0-0:amd64 \
libatk1.0-data \
libatm1:amd64 \
libatomic1:amd64 \
libauthen-sasl-perl \
libavahi-client3:amd64 \
libavahi-common-data:amd64 \
libavahi-common3:amd64 \
libbind9-140:amd64 \
libblas-common \
libblas3 \
libbsd0:amd64 \
libc-dev-bin \
libc6-dev:amd64 \
libcairo2:amd64 \
libcc1-0:amd64 \
libcdt5 \
libcgraph6 \
libcilkrts5:amd64 \
libcroco3:amd64 \
libcups2:amd64 \
libcupsfilters1:amd64 \
libcupsimage2:amd64 \
libcurl3:amd64 \
libcurl3-gnutls:amd64 \
libdatrie1:amd64 \
libdbus-1-3:amd64 \
libdns-export162 \
libdns162:amd64 \
libdpkg-perl \
libdrm-amdgpu1:amd64 \
libdrm-common \
libdrm-intel1:amd64 \
libdrm-nouveau2:amd64 \
libdrm-radeon1:amd64 \
libdrm2:amd64 \
libedit2:amd64 \
libelf1:amd64 \
libencode-locale-perl \
libexpat1:amd64 \
libfakeroot:amd64 \
libffi6:amd64 \
libfile-basedir-perl \
libfile-desktopentry-perl \
libfile-fcntllock-perl \
libfile-homedir-perl \
libfile-listing-perl \
libfile-mimeinfo-perl \
libfile-stripnondeterminism-perl \
libfile-which-perl \
libfont-afm-perl \
libfontconfig1:amd64 \
libfontenc1:amd64 \
libfreetype6:amd64 \
libgcc-5-dev:amd64 \
libgd3:amd64 \
libgdbm3:amd64 \
libgdk-pixbuf2.0-0:amd64 \
libgdk-pixbuf2.0-common \
libgeoip1:amd64 \
libgettextpo-dev:amd64 \
libgettextpo0:amd64 \
libgirepository-1.0-1:amd64 \
libgl1-mesa-dri:amd64 \
libgl1-mesa-glx:amd64 \
libglapi-mesa:amd64 \
libglib2.0-0:amd64 \
libgmp10:amd64 \
libgnutls30:amd64 \
libgomp1:amd64 \
libgpgme11:amd64 \
libgraphite2-3:amd64 \
libgs9:amd64 \
libgs9-common \
libgssapi-krb5-2:amd64 \
libgssapi3-heimdal:amd64 \
libgtk2.0-0:amd64 \
libgtk2.0-bin \
libgtk2.0-common \
libgtksourceview2.0-0 \
libgtksourceview2.0-common \
libgvc6 \
libgvpr2 \
libharfbuzz-icu0:amd64 \
libharfbuzz0b:amd64 \
libhcrypto4-heimdal:amd64 \
libheimbase1-heimdal:amd64 \
libheimntlm0-heimdal:amd64 \
libhiredis0.13:amd64 \
libhogweed4:amd64 \
libhtml-form-perl \
libhtml-format-perl \
libhtml-parser-perl \
libhtml-tagset-perl \
libhtml-tree-perl \
libhttp-cookies-perl \
libhttp-daemon-perl \
libhttp-date-perl \
libhttp-message-perl \
libhttp-negotiate-perl \
libhx509-5-heimdal:amd64 \
libice6:amd64 \
libicu55:amd64 \
libidn11:amd64 \
libijs-0.35:amd64 \
libio-html-perl \
libio-socket-ssl-perl \
libipc-system-simple-perl \
libisc-export160 \
libisc160:amd64 \
libisccc140:amd64 \
libisccfg140:amd64 \
libisl15:amd64 \
libitm1:amd64 \
libjbig0:amd64 \
libjbig2dec0 \
libjemalloc1 \
libjpeg-turbo8:amd64 \
libjpeg8:amd64 \
libjs-jquery \
libk5crypto3:amd64 \
libkeyutils1:amd64 \
libkpathsea6:amd64 \
libkrb5-26-heimdal:amd64 \
libkrb5-3:amd64 \
libkrb5support0:amd64 \
libksba8:amd64 \
liblcms2-2:amd64 \
libldap-2.4-2:amd64 \
libldb1:amd64 \
liblinear3:amd64 \
libllvm6.0:amd64 \
liblsan0:amd64 \
libltdl7:amd64 \
liblua5.2-0:amd64 \
liblwp-mediatypes-perl \
liblwp-protocol-https-perl \
liblwres141:amd64 \
liblzo2-2:amd64 \
libmagic1:amd64 \
libmail-sendmail-perl \
libmailtools-perl \
libmicrohttpd10 \
libmnl0:amd64 \
libmpc3:amd64 \
libmpdec2:amd64 \
libmpfr4:amd64 \
libmpx0:amd64 \
libnet-dbus-perl \
libnet-http-perl \
libnet-smtp-ssl-perl \
libnet-ssleay-perl \
libnettle6:amd64 \
libnpth0:amd64 \
libnspr4:amd64 \
libnss3:amd64 \
libnss3-nssdb \
libopenvas9 \
libopenvas9-dev \
libopts25:amd64 \
libp11-kit0:amd64 \
libpango-1.0-0:amd64 \
libpangocairo-1.0-0:amd64 \
libpangoft2-1.0-0:amd64 \
libpaper-utils \
libpaper1:amd64 \
libpathplan4 \
libpcap0.8:amd64 \
libpci3:amd64 \
libpciaccess0:amd64 \
libperl5.22:amd64 \
libpipeline1:amd64 \
libpixman-1-0:amd64 \
libpng12-0:amd64 \
libpoppler58:amd64 \
libpopt0:amd64 \
libpotrace0 \
libptexenc1:amd64 \
libpython-stdlib:amd64 \
libpython2.7:amd64 \
libpython2.7-minimal:amd64 \
libpython2.7-stdlib:amd64 \
libpython3-stdlib:amd64 \
libpython3.5-minimal:amd64 \
libpython3.5-stdlib:amd64 \
libquadmath0:amd64 \
libroken18-heimdal:amd64 \
librpm3 \
librpmbuild3 \
librpmio3 \
librpmsign3 \
librtmp1:amd64 \
libruby2.3:amd64 \
libsasl2-2:amd64 \
libsasl2-modules:amd64 \
libsasl2-modules-db:amd64 \
libsensors4:amd64 \
libserf-1-1:amd64 \
libsm6:amd64 \
libsmbclient:amd64 \
libsnmp-base \
libsnmp30:amd64 \
libsqlite3-0:amd64 \
libssh-4:amd64 \
libssl1.0.0:amd64 \
libstdc++-5-dev:amd64 \
libsvn1:amd64 \
libsynctex1:amd64 \
libsys-hostname-long-perl \
libtalloc2:amd64 \
libtasn1-6:amd64 \
libtcl8.6:amd64 \
libtdb1:amd64 \
libtevent0:amd64 \
libtexlua52:amd64 \
libtexluajit2:amd64 \
libtext-iconv-perl \
libthai-data \
libthai0:amd64 \
libtie-ixhash-perl \
libtiff5:amd64 \
libtimedate-perl \
libtk8.6:amd64 \
libtsan0:amd64 \
libtxc-dxtn-s2tc0:amd64 \
libubsan0:amd64 \
libunistring0:amd64 \
liburi-perl \
libutempter0:amd64 \
libvpx3:amd64 \
libwbclient0:amd64 \
libwhisker2-perl \
libwind0-heimdal:amd64 \
libwrap0:amd64 \
libwww-perl \
libwww-robotrules-perl \
libx11-6:amd64 \
libx11-data \
libx11-protocol-perl \
libx11-xcb1:amd64 \
libxau6:amd64 \
libxaw7:amd64 \
libxcb-dri2-0:amd64 \
libxcb-dri3-0:amd64 \
libxcb-glx0:amd64 \
libxcb-present0:amd64 \
libxcb-render0:amd64 \
libxcb-shape0:amd64 \
libxcb-shm0:amd64 \
libxcb-sync1:amd64 \
libxcb1:amd64 \
libxcomposite1:amd64 \
libxcursor1:amd64 \
libxdamage1:amd64 \
libxdmcp6:amd64 \
libxext6:amd64 \
libxfixes3:amd64 \
libxft2:amd64 \
libxi6:amd64 \
libxinerama1:amd64 \
libxml-parser-perl \
libxml-twig-perl \
libxml-xpathengine-perl \
libxml2:amd64 \
libxmu6:amd64 \
libxmuu1:amd64 \
libxpm4:amd64 \
libxrandr2:amd64 \
libxrender1:amd64 \
libxshmfence1:amd64 \
libxslt1.1:amd64 \
libxss1:amd64 \
libxt6:amd64 \
libxtables11:amd64 \
libxtst6:amd64 \
libxv1:amd64 \
libxxf86dga1:amd64 \
libxxf86vm1:amd64 \
libyaml-0-2:amd64 \
libyaml-tiny-perl \
libzzip-0-13:amd64 \
linux-libc-dev:amd64 \
lmodern \
lua-lpeg:amd64 \
make \
man-db \
manpages \
manpages-dev \
mime-support \
ndiff \
net-tools \
netbase \
nikto \
nmap \
nsis \
nsis-common \
openssh-client \
openssl \
openvas9 \
openvas9-cli \
openvas9-gsa \
openvas9-manager \
openvas9-scanner \
patch \
perl \
perl-modules-5.22 \
pinentry-curses \
po-debconf \
poppler-data \
postfix \
preview-latex-style \
prosper \
ps2eps \
python \
python-beautifulsoup \
python-bs4 \
python-cairo \
python-cffi-backend \
python-chardet \
python-crypto \
python-cryptography \
python-defusedxml \
python-enum34 \
python-gi \
python-gobject \
python-gobject-2 \
python-gtk2 \
python-gtksourceview2 \
python-html5lib \
python-idna \
python-ipaddress \
python-ldb \
python-lxml \
python-minimal \
python-ndg-httpsclient \
python-openssl \
python-pkg-resources \
python-pyasn1 \
python-pypdf \
python-pysqlite2 \
python-requests \
python-samba \
python-scapy \
python-simplejson \
python-six \
python-soappy \
python-svn \
python-talloc \
python-tdb \
python-urllib3 \
python-wstools \
python2.7 \
python2.7-minimal \
python3 \
python3-minimal \
python3.5 \
python3.5-minimal \
rake \
redis-server \
redis-tools \
rename \
rpm \
rpm-common \
rpm2cpio \
rsync \
ruby \
ruby-did-you-mean \
ruby-minitest \
ruby-net-telnet \
ruby-power-assert \
ruby-test-unit \
ruby2.3 \
rubygems-integration \
samba-common \
samba-common-bin \
samba-libs:amd64 \
sgml-base \
shared-mime-info \
smbclient \
socat \
sqlite3 \
sshpass \
ssl-cert \
t1utils \
tcl \
tcl8.6 \
tcpd \
tex-common \
tex-gyre \
texlive-base \
texlive-binaries \
texlive-extra-utils \
texlive-font-utils \
texlive-fonts-recommended \
texlive-fonts-recommended-doc \
texlive-generic-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
texlive-pictures \
texlive-pstricks \
tipa \
tk \
tk8.6 \
tzdata \
ucf \
unzip \
w3af \
w3af-console \
wapiti \
wget \
x11-common \
x11-utils \
x11-xserver-utils \
xauth \
xbitmaps \
xdg-utils \
xml-core \
xsltproc \
xterm \
xz-utils \
zip \
-yq --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
RUN wget -q https://github.com/Arachni/arachni/releases/download/v1.5.1/arachni-1.5.1-0.5.12-linux-x86_64.tar.gz && \
tar -zxf arachni-1.5.1-0.5.12-linux-x86_64.tar.gz && \
mv arachni-1.5.1-0.5.12 /opt/arachni && \
ln -s /opt/arachni/bin/* /usr/local/bin/ && \
rm -rf arachni*
RUN mkdir -p /var/run/redis && \
wget -q --no-check-certificate \
https://svn.wald.intevation.org/svn/openvas/branches/tools-attic/openvas-check-setup \
-O /openvas-check-setup && \
chmod +x /openvas-check-setup && \
sed -i 's/DAEMON_ARGS=""""/DAEMON_ARGS=""-a 0.0.0.0""/' /etc/init.d/openvas-manager && \
sed -i 's/DAEMON_ARGS=""""/DAEMON_ARGS=""--mlisten 127.0.0.1 -m 9390 --gnutls-priorities=SECURE128:-AES-128-CBC:-CAMELLIA-128-CBC:-VERS-SSL3.0:-VERS-TLS1.0""/' /etc/init.d/openvas-gsa && \
sed -i '/^\[ -n ""$HTTP_STS_MAX_AGE"" \]/a[ -n ""$PUBLIC_HOSTNAME"" ] && DAEMON_ARGS=""$DAEMON_ARGS --allow-header-host=$PUBLIC_HOSTNAME""' /etc/init.d/openvas-gsa && \
sed -i 's/PORT_NUMBER=4000/PORT_NUMBER=443/' /etc/default/openvas-gsa && \
greenbone-nvt-sync > /dev/null && \
greenbone-scapdata-sync > /dev/null && \
greenbone-certdata-sync > /dev/null && \
BUILD=true /start && \
service openvas-scanner stop && \
service openvas-manager stop && \
service openvas-gsa stop && \
service redis-server stop
ENV BUILD=""""
CMD /start
EXPOSE 443 9390
",feature addition
286,e56c2c6e5413bdfabe66445b0fba90e900dc390f,Bumped source to 20220628-543810d,"Bumped source to 20220628-543810d
","FROM ghcr.io/dock0/arch:20220628-9db612f
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
","FROM ghcr.io/dock0/arch:20220628-543810d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",maintenance/other
2149,a1f1d86fae645c232a4db6cdd2a96673d5c9ff97,bp-node(deps): bump kyma-project/test-infra/bootstrap (#5345),"bp-node(deps): bump kyma-project/test-infra/bootstrap (#5345)
Bumps kyma-project/test-infra/bootstrap from v20220310-2b410ea6 to v20220427-9543160d.
---
updated-dependencies:
- dependency-name: kyma-project/test-infra/bootstrap
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <1c358da00a777d4e9898c1280ab801e2df165188@users.noreply.github.com>","# Basic node buildpack
FROM eu.gcr.io/kyma-project/test-infra/bootstrap:v20220310-2b410ea6
# Commit details
ARG commit
ENV IMAGE_COMMIT=$commit
LABEL io.kyma-project.test-infra.commit=$commit
SHELL [""/bin/bash"", ""-o"", ""pipefail"", ""-c""]
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo ""deb https://dl.yarnpkg.com/debian/ stable main"" | tee /etc/apt/sources.list.d/yarn.list
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get update && apt-get install -y --no-install-recommends \
libfontconfig1 \
procps \
nodejs \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g eslint-config-react-app@^3.0.4 \
babel-eslint@^9.0.0 \
eslint@^5.6.1 \
eslint-plugin-flowtype@^2.50.3 \
eslint-plugin-import@^2.14.0 \
eslint-plugin-jsx-a11y@^6.1.2 \
eslint-plugin-react@^7.11.1 \
tslint@^5.11.0 \
tslint-angular@^1.1.2 \
tslint-config-prettier@^1.15.0 \
typescript@^3.1.3 \
prettier@^1.14.3
COPY ./license-puller.sh /license-puller.sh
ENV LICENSE_PULLER_PATH=/license-puller.sh
# Prow Tools
# hadolint ignore=DL3022
COPY --from=eu.gcr.io/kyma-project/test-infra/prow-tools:v20210401-294e46e5 /prow-tools /prow-tools
# for better access to prow-tools
ENV PATH=$PATH:/prow-tools
",,"maintenance/other, code refactoring"
309,92c63c28a1ec73cdee180827276b37716da4a969,Bumped source to 20210826-bf67c40,"Bumped source to 20210826-bf67c40
","FROM docker.pkg.github.com/dock0/arch/arch:20210826-6120aac
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
","FROM docker.pkg.github.com/dock0/arch/arch:20210826-bf67c40
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD [""make"", ""local""]
",maintenance/other
209,d0682a1889f1ef9c9cab82c099db663af030fe85,Bumped source to 20200224-3fe2701,"Bumped source to 20200224-3fe2701
","FROM docker.pkg.github.com/dock0/service/service:20200224-c3b0df9
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
","FROM docker.pkg.github.com/dock0/service/service:20200224-3fe2701
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
",maintenance/other
87,f75252caa3585db15961f07d37f4613d0d8545ef,Bumped source to 20200914-83234c8,"Bumped source to 20200914-83234c8
","FROM docker.pkg.github.com/dock0/service/service:20200914-4a8a10b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
","FROM docker.pkg.github.com/dock0/service/service:20200914-83234c8
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo ""$KEY_URL"" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d ""/home/$ADMIN"" -G remote -m ""$ADMIN""
RUN passwd -d ""$ADMIN""
",maintenance/other
147,079764d507f6d3f5a8c25ecc557cb3d10d5a7d07,Dockerfile updated to include Getopt::Long,Dockerfile updated to include Getopt::Long,"FROM ubuntu:14.04
# install base packages
RUN apt-get update && apt-get install -y wget git g++ make zlib1g-dev bc
# Change workdir
WORKDIR /opt
RUN git clone https://github.com/raunaq-m/MLEHaplo.git
# Install multi-dsk
WORKDIR /opt/MLEHaplo/multi-dsk
RUN make k=64
# Install packages for perl scripts
RUN apt-get install -y curl
RUN curl -L https://cpanmin.us | perl - --sudo App::cpanminus
RUN cpanm Graph
RUN apt-get install -y libexpat1-dev
RUN cpanm XML::Parser
RUN cpanm Bio::SeqIO
# RUN cpanm --force Net::SSLeay
# RUN cpanm IO::Socket::SSL
# RUN cpanm LWP::Protocol::https
# RUN cpanm Bio::DB::GenBank
# RUN cpanm Bio::DB::GenPept
# RUN cpanm --force Bio::Perl
WORKDIR /opt/MLEHaplo
COPY Dockerfile /opt/
LABEL maintainer=""li.weiling.1112@gmail.com""
LABEL author=""raunaq.123@gmail.com""
","FROM ubuntu:14.04
# install base packages
RUN apt-get update && apt-get install -y wget git g++ make zlib1g-dev bc
# Change workdir
WORKDIR /opt
RUN git clone https://github.com/raunaq-m/MLEHaplo.git
# Install multi-dsk
WORKDIR /opt/MLEHaplo/multi-dsk
RUN make k=64
# Install packages for perl scripts
RUN apt-get install -y curl
RUN curl -L https://cpanmin.us | perl - --sudo App::cpanminus
RUN cpanm Graph
RUN apt-get install -y libexpat1-dev
RUN cpanm XML::Parser
RUN cpanm Bio::SeqIO
RUN cpanm Getopt::Long
# RUN cpanm --force Net::SSLeay
# RUN cpanm IO::Socket::SSL
# RUN cpanm LWP::Protocol::https
# RUN cpanm Bio::DB::GenBank
# RUN cpanm Bio::DB::GenPept
# RUN cpanm --force Bio::Perl
WORKDIR /opt/MLEHaplo
COPY Dockerfile /opt/
LABEL maintainer=""li.weiling.1112@gmail.com""
LABEL author=""raunaq.123@gmail.com""
",feature addition
208,02f51d7446531d8ae793bf264b5818dcd445e59d,update,"update
","FROM php:7.1.5-fpm-alpine
WORKDIR /var/www/html
RUN apk update --no-cache &&
apk add --no-cache \
nodejs \
git \
python
RUN docker-php-ext-install \
mcrypt \
zip \
gettext \
bz2 \
gd
COPY . /var/www/html
RUN npm install && gulp --production
CMD [""sh"",""/usr/bin/docker-start.sh""]","# FROM php:7.1.5-fpm-alpine
FROM keittirat/nds-php7:latest
WORKDIR /var/www/html
RUN apk update --no-cache && apk add --no-cache \
nodejs \
git \
python2
# RUN apk update --no-cache && apk add --no-cache \
# nodejs \
# git \
# python
# RUN docker-php-ext-install \
# mcrypt \
# zip \
# gettext \
# bz2 \
# gd
COPY . /var/www/html
RUN npm install && gulp --production
CMD [""sh"",""/usr/bin/docker-start.sh""]",Not enough inforamtion
114,03a3f531b158ccde1d0c7e996335714c115bf78f,Updated docker,"Updated docker
","# Start with a Python image.
FROM python:3-alpine
# Set default required environment variables
ENV PYTHONUNBUFFERED 1
ENV DBENGINE sqlite3
ENV DBNAME /code/dblocal.sqlite3
ENV DBHOST None
ENV DBPORT None
ENV DBUSER None
ENV DBPASSWORD None
ENV SUNAME super
ENV SUEMAIL super@super.com
ENV SUPASS super
ENV MQHOST None
ENV MQUSER None
ENV MQPASSWORD None
ENV MQRESTSERVER '127.0.0.1'
ENV MQRESTPORT 8000
# Install some necessary things.
RUN apt-get update
RUN apt-get install -y swig libssl-dev dpkg-dev netcat libmysqlclient-dev
# Install dependencies not in requirements.txt
RUN pip install -U pip
RUN pip install uwsgi mysqlclient psycopg2
# Copy all our files into the image.
RUN git clone https://github.com/Semprini/cbe-retail.git /code
WORKDIR /code
RUN pip install -Ur requirements.txt
# Collect our static media
RUN python manage.py collectstatic --noinput
# Specify the command to run when the image is run.
RUN [""chmod"", ""+x"", ""/code/manage_run.sh""]
#RUN [""chmod"", ""+x"", ""/code/manage.py""]
CMD [""/code/manage_run.sh""]
","# Start with a Python image.
FROM python:3-alpine
# Set default required environment variables
ENV PYTHONUNBUFFERED 1
ENV DBENGINE sqlite3
ENV DBNAME /code/dblocal.sqlite3
ENV DBHOST None
ENV DBPORT None
ENV DBUSER None
ENV DBPASSWORD None
ENV SUNAME super
ENV SUEMAIL super@super.com
ENV SUPASS super
ENV MQHOST None
ENV MQUSER None
ENV MQPASSWORD None
ENV MQRESTSERVER '127.0.0.1'
ENV MQRESTPORT 8000
# Install some necessary things.
RUN apk update
RUN apk add swig libssl-dev dpkg-dev netcat libmysqlclient-dev
# Install dependencies not in requirements.txt
RUN pip install -U pip
RUN pip install uwsgi mysqlclient psycopg2
# Copy all our files into the image.
RUN git clone https://github.com/Semprini/cbe-retail.git /code
WORKDIR /code
RUN pip install -Ur requirements.txt
# Collect our static media
RUN python manage.py collectstatic --noinput
# Specify the command to run when the image is run.
RUN [""chmod"", ""+x"", ""/code/manage_run.sh""]
#RUN [""chmod"", ""+x"", ""/code/manage.py""]
CMD [""/code/manage_run.sh""]
",Not enough inforamtion
|