Skip to content

Commit

Permalink
[YUNIKORN-2799] Fix Dockerfile warnings (#910)
Browse files Browse the repository at this point in the history
Closes: #910

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
ryankert01 authored and craigcondit committed Sep 6, 2024
1 parent cc91552 commit 8ab6ecf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 8ab6ecf

Please sign in to comment.