Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
k8s-device-plugin
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
RadeonOpenCompute
k8s-device-plugin
Commits
8417c88c
Commit
8417c88c
authored
1 year ago
by
Kenny Ho
Browse files
Options
Downloads
Patches
Plain Diff
Update base image to alpine 3.18.3 to fix vulnerabilities
Fixes CVE-2023-2650
parent
2e5bbc79
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
8417c88c
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
FROM
docker.io/golang:1.19.
6
-alpine3.1
7
FROM
docker.io/golang:1.19.
12
-alpine3.1
8
RUN
apk
--no-cache
add git pkgconfig build-base libdrm-dev
RUN
apk
--no-cache
add git pkgconfig build-base libdrm-dev
RUN
apk
--no-cache
add hwloc-dev
--repository
=
http://dl-cdn.alpinelinux.org/alpine/edge/community
RUN
apk
--no-cache
add hwloc-dev
--repository
=
http://dl-cdn.alpinelinux.org/alpine/edge/community
RUN
mkdir
-p
/go/src/github.com/RadeonOpenCompute/k8s-device-plugin
RUN
mkdir
-p
/go/src/github.com/RadeonOpenCompute/k8s-device-plugin
...
@@ -20,7 +20,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-device-pl
...
@@ -20,7 +20,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-device-pl
RUN
go
install
\
RUN
go
install
\
-ldflags
=
"-X main.gitDescribe=
$(
git
-C
/go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe
--always
--long
--dirty
)
"
-ldflags
=
"-X main.gitDescribe=
$(
git
-C
/go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe
--always
--long
--dirty
)
"
FROM
alpine:3.1
7
.3
FROM
alpine:3.1
8
.3
LABEL
\
LABEL
\
org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \
org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \
org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \
org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment