-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add memcached container files (#7307)
- Loading branch information
1 parent
9740bd1
commit cc1b3c5
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
.pipelines/containerSourceData/memcached/Dockerfile-Memcached
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
ARG BASE_IMAGE | ||
|
||
FROM $BASE_IMAGE | ||
|
||
@INCLUDE_MAIN_RUN_INSTRUCTION@ | ||
|
||
RUN useradd memcache | ||
|
||
USER memcache | ||
|
||
EXPOSE 11211 | ||
|
||
# basic smoke test | ||
RUN memcached -h | ||
|
||
# set default command for the container | ||
CMD ["memcached"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
memcached |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters