Skip to content

Commit 4383052

Browse files
committed
pref: Update Dockerfile to use latest version of debian-ssh-12.6 image and remove project files before copying
1 parent 4acbcba commit 4383052

File tree

4 files changed

+9
-23
lines changed

4 files changed

+9
-23
lines changed

Language/go/1.22.5/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335
1+
FROM ghcr.io/labring-actions/devbox/debian-ssh-12.6:d8b67a
2+
3+
RUN cd /home/sealos/project && \
4+
rm -rf ./*
25

36
COPY /Language/go/project /home/sealos/project
47

Language/go/1.23.0/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335
1+
FROM ghcr.io/labring-actions/devbox/debian-ssh-12.6:d8b67a
2+
3+
RUN cd /home/sealos/project && \
4+
rm -rf ./*
25

36
COPY /Language/go/project /home/sealos/project
47

Language/go/project/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
go run main.go

yaml/OS/debian-ssh/runtime-debian-ssh.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)