diff options
author | Fabricio Voznika <fvoznika@google.com> | 2018-09-28 15:51:36 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-28 15:52:33 -0700 |
commit | 49ff81a42b51a3fa2ee139e1e86179fa0c427a86 (patch) | |
tree | 35194b1301a589cf5ff830f84f8b7c984f88f0a5 /runsc/test/image/ruby.rb | |
parent | 2496d9b4b6343154525f73e9583a4a60bebcfa30 (diff) |
Add ruby image tests
PiperOrigin-RevId: 215009066
Change-Id: I54ab920fa649cf4d0817f7cb8ea76f9126523330
Diffstat (limited to 'runsc/test/image/ruby.rb')
-rw-r--r-- | runsc/test/image/ruby.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/runsc/test/image/ruby.rb b/runsc/test/image/ruby.rb new file mode 100644 index 000000000..ae5de3419 --- /dev/null +++ b/runsc/test/image/ruby.rb @@ -0,0 +1,23 @@ +# Copyright 2018 Google Inc. +# +# 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. + +require 'sinatra' + +set :bind, "0.0.0.0" +set :port, 8080 + +get '/' do + 'Hello World' +end + |