File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5
5
# You may obtain a copy of the License at
6
6
#
7
7
# https://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
# Unless required by applicable law or agreed to in writing, software
10
10
# distributed under the License is distributed on an "AS IS" BASIS,
11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # [START cloudrun_helloworld_dockerfile]
15
16
# [START run_helloworld_dockerfile]
16
17
17
18
# Use the official PHP image.
@@ -51,3 +52,4 @@ RUN sed -i 's/80/${PORT}/g' /etc/apache2/sites-available/000-default.conf /etc/a
51
52
RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
52
53
53
54
# [END run_helloworld_dockerfile]
55
+ # [END cloudrun_helloworld_dockerfile]
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ // [START cloudrun_helloworld_service]
18
19
// [START run_helloworld_service]
19
20
20
21
$ name = getenv ('NAME ' , true ) ?: 'World ' ;
21
22
echo sprintf ('Hello %s! ' , $ name );
22
23
23
24
// [END run_helloworld_service]
25
+ // [END cloudrun_helloworld_service]
You can’t perform that action at this time.
0 commit comments