Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker file rumal ver #581

Merged
merged 2 commits into from
Oct 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WORKDIR /app
# Install gcc to compile rumal.yaml.clib, wheel is missing.
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc \
&& pip3 install --no-cache-dir ruamel.yaml.clib \
&& pip3 install --no-cache-dir ruamel.yaml.clib==0.2.6 \
&& apt-get purge -y --auto-remove gcc \
&& rm -rf /var/lib/apt/lists/*

Expand Down
4 changes: 3 additions & 1 deletion build_release.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
export DOCKER_BUILDKIT=1

docker pull us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner:cache

docker buildx build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--platform linux/arm64,linux/amd64 \
--cache-from us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner:cache \
--tag $IMAGE \
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner:cache \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--push \
$BUILD_CONTEXT