mirror of https://github.com/docker/docs.git
Update bsd specs
Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume.charmes@docker.com> (github: creack)
This commit is contained in:
parent
802407a099
commit
6ccfb7fb9a
|
@ -68,7 +68,7 @@ ENV GOPATH /go:/go/src/github.com/dotcloud/docker/vendor
|
||||||
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
||||||
|
|
||||||
# Compile Go for cross compilation
|
# Compile Go for cross compilation
|
||||||
ENV DOCKER_CROSSPLATFORMS linux/386 linux/arm darwin/amd64 darwin/386
|
ENV DOCKER_CROSSPLATFORMS linux/386 linux/arm darwin/amd64 darwin/386 freebsd/amd64 freebsd/386 freebsd/arm
|
||||||
# (set an explicit GOARM of 5 for maximum compatibility)
|
# (set an explicit GOARM of 5 for maximum compatibility)
|
||||||
ENV GOARM 5
|
ENV GOARM 5
|
||||||
RUN cd /usr/local/go/src && bash -xc 'for platform in $DOCKER_CROSSPLATFORMS; do GOOS=${platform%/*} GOARCH=${platform##*/} ./make.bash --no-clean 2>&1; done'
|
RUN cd /usr/local/go/src && bash -xc 'for platform in $DOCKER_CROSSPLATFORMS; do GOOS=${platform%/*} GOARCH=${platform##*/} ./make.bash --no-clean 2>&1; done'
|
||||||
|
|
|
@ -5,11 +5,11 @@ package archive
|
||||||
import "syscall"
|
import "syscall"
|
||||||
|
|
||||||
func getLastAccess(stat *syscall.Stat_t) syscall.Timespec {
|
func getLastAccess(stat *syscall.Stat_t) syscall.Timespec {
|
||||||
return stat.Atimespec
|
return syscall.Timespec{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func getLastModification(stat *syscall.Stat_t) syscall.Timespec {
|
func getLastModification(stat *syscall.Stat_t) syscall.Timespec {
|
||||||
return stat.Mtimespec
|
return syscall.Timespec{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
Loading…
Reference in New Issue