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

[YUNIKORN-2799] Solve dockerfile warning which emerged while building #910

Closed
wants to merge 1 commit into from
Closed
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 docker/admission/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# 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.
FROM --platform=$TARGETPLATFORM scratch
FROM scratch
COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md yunikorn-admission-controller /
USER 4444:4444
ENTRYPOINT [ "/yunikorn-admission-controller" ]
2 changes: 1 addition & 1 deletion docker/plugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# 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.
FROM --platform=$TARGETPLATFORM scratch
FROM scratch
COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md yunikorn-scheduler-plugin scheduler-config.yaml /
USER 4444:4444
ENTRYPOINT [ "/yunikorn-scheduler-plugin", "--bind-address=0.0.0.0", "--config=/scheduler-config.yaml" ]
2 changes: 1 addition & 1 deletion docker/scheduler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# 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.
FROM --platform=$TARGETPLATFORM scratch
FROM scratch
COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md yunikorn-scheduler /
USER 4444:4444
ENTRYPOINT [ "/yunikorn-scheduler" ]
2 changes: 1 addition & 1 deletion docker/webtest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.

# Imagestage: use scratch base image
FROM --platform=$TARGETPLATFORM scratch
FROM scratch
COPY --chown=0:0 document/index.html /html/
COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md web-test-server /
EXPOSE 9889
Expand Down
Loading