naver/pinpoint#6598] 2.0.1 release fix location
This commit is contained in:
		
							parent
							
								
									bb0667b77a
								
							
						
					
					
						commit
						d26879d8f0
					
				| 
						 | 
					@ -19,7 +19,7 @@ RUN mkdir -p ${BASE_DIR} \
 | 
				
			||||||
    && curl -fSL "${HBASE_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz || curl -fSL "${HBASE_SUB_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz \
 | 
					    && curl -fSL "${HBASE_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz || curl -fSL "${HBASE_SUB_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz \
 | 
				
			||||||
    && tar xfvz hbase.tar.gz \
 | 
					    && tar xfvz hbase.tar.gz \
 | 
				
			||||||
    && mv ../../hbase-site.xml ../../${HBASE_HOME}/conf/hbase-site.xml \
 | 
					    && mv ../../hbase-site.xml ../../${HBASE_HOME}/conf/hbase-site.xml \
 | 
				
			||||||
    && curl -SL "https://raw.githubusercontent.com/naver/pinpoint/${PINPOINT_VERSION}/hbase/scripts/hbase-create.hbase" -o ${BASE_DIR}/hbase-create.hbase \
 | 
					    && curl -SL "https://raw.githubusercontent.com/naver/pinpoint/v${PINPOINT_VERSION}/hbase/scripts/hbase-create.hbase" -o ${BASE_DIR}/hbase-create.hbase \
 | 
				
			||||||
    && ${HBASE_HOME}/bin/start-hbase.sh \
 | 
					    && ${HBASE_HOME}/bin/start-hbase.sh \
 | 
				
			||||||
    && sleep 10 \
 | 
					    && sleep 10 \
 | 
				
			||||||
    && ${HBASE_HOME}/bin/hbase shell ${BASE_DIR}/hbase-create.hbase \
 | 
					    && ${HBASE_HOME}/bin/hbase shell ${BASE_DIR}/hbase-create.hbase \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,8 +4,8 @@ ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.0.1}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN apt update \ 
 | 
					RUN apt update \ 
 | 
				
			||||||
	&& apt-get install -y --no-install-recommends ca-certificates wget \
 | 
						&& apt-get install -y --no-install-recommends ca-certificates wget \
 | 
				
			||||||
	&& wget -O /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql" \
 | 
						&& wget -O /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql" \
 | 
				
			||||||
	&& wget -O /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobRepositorySchema-mysql.sql" \
 | 
						&& wget -O /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobRepositorySchema-mysql.sql" \
 | 
				
			||||||
	&& sed -i '/^--/d' /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql \
 | 
						&& sed -i '/^--/d' /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql \
 | 
				
			||||||
	&& sed -i '/^--/d' /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql \
 | 
						&& sed -i '/^--/d' /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql \
 | 
				
			||||||
	&& apt-get purge -y --auto-remove ca-certificates wget
 | 
						&& apt-get purge -y --auto-remove ca-certificates wget
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue