mirror of
https://github.com/tiennm99/docker-images.git
synced 2026-10-03 05:19:49 +00:00
Update maintainer and fix Ubuntu sources in Dockerfile
Replaces the deprecated MAINTAINER instruction with LABEL for maintainer information. Updates apt sources to use old-releases.ubuntu.com, ensuring package installation works for Ubuntu 12.04 which is now archived.
This commit is contained in:
1 parent
5b10be09e4
commit
8544ce2c4c
1 file changed
+4
-2
@@ -1,6 +1,9 @@
|
||||
FROM ubuntu:12.04
|
||||
|
||||
MAINTAINER Couchbase Docker Team <docker@couchbase.com>
|
||||
LABEL maintainer="Tien Nguyen Minh <tiennm99@outlook.com>"
|
||||
|
||||
RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://old-releases.ubuntu.com/ubuntu/|g' /etc/apt/sources.list && \
|
||||
sed -i 's|http://security.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|g' /etc/apt/sources.list
|
||||
|
||||
# Install dependencies:
|
||||
# runit: for container process management
|
||||
@@ -74,4 +77,3 @@ CMD ["couchbase-server"]
|
||||
# 18096: Eventing (SSL) (5.5+)
|
||||
EXPOSE 8091 8092 8093 8094 8095 8096 11207 11210 11211 18091 18092 18093 18094 18095 18096
|
||||
VOLUME /opt/couchbase/var
|
||||
|
||||
Reference in new issue
Block a user