File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17- FROM ruby:2.6.8
17+ FROM --platform=linux/amd64 ruby:2.6.8
1818
1919LABEL Vendor="Apache Geode"
2020LABEL version=unstable
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ trap cleanup EXIT
2626# geode-book folder to the image context
2727cp ../../../geode-book/Gemfile* .
2828
29- docker build -t geodedocs/temp:1.0 .
29+ docker build --platform linux/amd64 - t geodedocs/temp:1.0 .
3030
3131# "geode-book/final_app" and "geode-book/output" are created inside the container,
3232# so it is necessary to use the current user to avoid these folders owned by
@@ -35,7 +35,7 @@ GEODE_BOOK="$(pwd)/../../../geode-book"
3535GEODE_DOCS=" $( pwd) /../../../geode-docs"
3636MY_UID=$( id -u)
3737MY_GID=$( id -g)
38- docker run -it -p 9292:9292 --user $MY_UID :$MY_GID \
38+ docker run -it --platform linux/amd64 - p 9292:9292 --user $MY_UID :$MY_GID \
3939 --workdir=" /home/$USER " \
4040 --volume=" /etc/group:/etc/group:ro" \
4141 --volume=" /etc/passwd:/etc/passwd:ro" \
You can’t perform that action at this time.
0 commit comments