Enviroment vars have backslash in Docker on windows
My docker info is here:
Containers: 41
Running: 2
Paused: 0
Stopped: 39
Images: 17
Server Version: 18.09.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 09c8266bf2fcf9519a651b04ae54c967b9ab86ec
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.125-linuxkit
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 17.58GiB
Name: linuxkit-00155d03ce1f
ID: FRYQ:LHC4:KCV7:2BLI:RRX4:FEEQ:N6LO:JC6R:O4VN:LOME:KKHH:QTAP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
HTTP Proxy: socks5://10.0.75.1:1080
HTTPS Proxy: socks5://10.0.75.1:1080
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://registry.docker-cn.com/
https://hub-mirror.c.163.com/
Live Restore Enabled: false
Product License: Community Engine
But if I use environment in docker, I'll got
$ pwd
/builds/myname/project
$ ls -al $CI_PROJECT_DIR
ls: \builds\myname\project: No such file or directory
$CI_PROJECT_DIR is windows format even in linux OS.
Edited by John Lyu