kopia lustrzana https://github.com/jupyterhub/repo2docker
adding warning for windows platform
rodzic
e4b680de3f
commit
3ceb1fb39c
|
@ -6,6 +6,7 @@ import os
|
||||||
import re
|
import re
|
||||||
import logging
|
import logging
|
||||||
import docker
|
import docker
|
||||||
|
import sys
|
||||||
|
|
||||||
TEMPLATE = r"""
|
TEMPLATE = r"""
|
||||||
FROM buildpack-deps:artful
|
FROM buildpack-deps:artful
|
||||||
|
@ -144,6 +145,9 @@ class BuildPack:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.log = logging.getLogger('repo2docker')
|
self.log = logging.getLogger('repo2docker')
|
||||||
self.appendix = ''
|
self.appendix = ''
|
||||||
|
if sys.platform.startswith('win'):
|
||||||
|
self.log.warning("Windows environment detected. Note that Windows "
|
||||||
|
"support is experimental in repo2docker.")
|
||||||
|
|
||||||
def get_packages(self):
|
def get_packages(self):
|
||||||
"""
|
"""
|
||||||
|
|
Ładowanie…
Reference in New Issue