diff options
author | Adin Scannell <ascannell@google.com> | 2020-10-15 17:19:21 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-15 17:21:24 -0700 |
commit | 0a7e32bd17fb3f4aae8fdea427283cda49fe002f (patch) | |
tree | ab9367eb9cd6c226ca4857b8217de21552c294ee /website/import.sh | |
parent | 0d54b41e550b452bb990cca55f642169502b82f2 (diff) |
Add easier-to-use docker_image target.
PiperOrigin-RevId: 337415009
Diffstat (limited to 'website/import.sh')
-rwxr-xr-x | website/import.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/website/import.sh b/website/import.sh deleted file mode 100755 index e1350e83d..000000000 --- a/website/import.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# Copyright 2018 The gVisor 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. - -set -xeuo pipefail - -if [[ -d $0.runfiles ]]; then - cd $0.runfiles -fi - -exec docker import \ - -c "EXPOSE 8080/tcp" \ - -c "ENTRYPOINT [\"/server\"]" \ - $(find . -name files.tgz) \ - gvisor.dev/images/website |