diff --git a/Dockerfile b/Dockerfile index 5359bbc..efd3b84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,20 @@ # syntax = docker/dockerfile:experimental + +# Copyright 2020 Docker CLI JavaScript SDK authors + +# 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. + + FROM node:12-buster-slim AS base WORKDIR /src COPY package.json . diff --git a/Makefile b/Makefile index 6ed79bd..08960e2 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,17 @@ +# Copyright 2020 Docker Node SDK authors + +# 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. + export DOCKER_BUILDKIT=1 IMG?=node-sdk-test diff --git a/NOTICE b/NOTICE index 9ee6644..83a1195 100644 --- a/NOTICE +++ b/NOTICE @@ -1,2 +1,2 @@ Docker CLI JavaScript SDK -Copyright 2020 The Authors +Copyright 2020 Docker CLI JavaScript SDK authors diff --git a/examples/context-ls.ts b/examples/context-ls.ts index a328215..ba41223 100644 --- a/examples/context-ls.ts +++ b/examples/context-ls.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/examples/exec.ts b/examples/exec.ts index b613df0..93a0a8d 100644 --- a/examples/exec.ts +++ b/examples/exec.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/examples/ps.ts b/examples/ps.ts index 286f23a..cd318c7 100644 --- a/examples/ps.ts +++ b/examples/ps.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/examples/start-stop.ts b/examples/start-stop.ts index 72c254d..95228e7 100644 --- a/examples/start-stop.ts +++ b/examples/start-stop.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/protos.sh b/protos.sh index 336931b..25e484e 100755 --- a/protos.sh +++ b/protos.sh @@ -1,3 +1,19 @@ +# Copyright 2020 Docker CLI JavaScript SDK authors + +# 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. + +#!/bin/bash + node_modules/.bin/grpc_tools_node_protoc \ --js_out=import_style=commonjs,binary:./src/protos \ --grpc_out=grpc_js:./src/protos \ diff --git a/publish.sh b/publish.sh index 7e5c997..205c40d 100755 --- a/publish.sh +++ b/publish.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Docker CLI JavaScript SDK authors + +# 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. + #!/bin/bash set -e diff --git a/scripts/download-cli.ts b/scripts/download-cli.ts index fd62f84..1b42d3f 100644 --- a/scripts/download-cli.ts +++ b/scripts/download-cli.ts @@ -1,3 +1,19 @@ +/* + Copyright 2020 Docker CLI JavaScript SDK authors + + 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. +*/ + import * as fs from 'fs'; import * as path from 'path'; import * as tar from 'tar'; diff --git a/scripts/download-protos.ts b/scripts/download-protos.ts index 2bc7d2d..e535c76 100644 --- a/scripts/download-protos.ts +++ b/scripts/download-protos.ts @@ -1,3 +1,19 @@ +/* + Copyright 2020 Docker CLI JavaScript SDK authors + + 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. +*/ + import * as fs from 'fs'; import * as path from 'path'; import { Readable } from 'stream'; diff --git a/src/containers.ts b/src/containers.ts index 5d4c097..e5d1cd3 100644 --- a/src/containers.ts +++ b/src/containers.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/contexts.ts b/src/contexts.ts index 3724275..ccd6e23 100644 --- a/src/contexts.ts +++ b/src/contexts.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/index.ts b/src/index.ts index 5c3a44d..4d62b20 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/streams.ts b/src/streams.ts index 36c11f2..0f21e03 100644 --- a/src/streams.ts +++ b/src/streams.ts @@ -1,5 +1,5 @@ /* - Copyright 2020 The Authors + Copyright 2020 Docker CLI JavaScript SDK authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/context-ls.test.ts b/test/context-ls.test.ts index d2980bc..cbd031a 100644 --- a/test/context-ls.test.ts +++ b/test/context-ls.test.ts @@ -1,3 +1,19 @@ +/* + Copyright 2020 Docker CLI JavaScript SDK authors + + 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. +*/ + const fs = require('fs'); const path = require('path'); const { spawn } = require('child_process');